@camunda/e2e-test-suite 0.0.871 → 0.0.873
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -282,7 +282,7 @@ _8_10_1.test.describe('Optimize exporter filters — Optimize mode restricted re
|
|
|
282
282
|
(0, test_1.expect)([200, 201, 204]).toContain(status);
|
|
283
283
|
await waitForFilterConfig((filters) => filters[OPTIMIZE_MODE_KEY] === true);
|
|
284
284
|
});
|
|
285
|
-
(0, _8_10_1.test)('
|
|
285
|
+
(0, _8_10_1.test)('process instance reaches Optimize (Optimize mode passed required records)', async ({ request, }) => {
|
|
286
286
|
skipIfUnavailable();
|
|
287
287
|
let baseline = 0;
|
|
288
288
|
await _8_10_1.test.step('capture the current imported instance count for the process definition', async () => {
|
|
@@ -258,6 +258,10 @@ async function createClusterViaApi(page, clusterName, region = 'GCP') {
|
|
|
258
258
|
`HTTP ${createResponse.status()} - ${await createResponse.text()}`);
|
|
259
259
|
}
|
|
260
260
|
const result = await createResponse.json();
|
|
261
|
+
// Log the raw create response and the resolved cluster UUID so a nightly run
|
|
262
|
+
// can be mapped to its GKE namespace (`<clusterId>-zeebe`) when triaging
|
|
263
|
+
// cluster-side failures from GCP logs.
|
|
264
|
+
console.log(`Cluster creation response (org ${orgId}): ${JSON.stringify(result)}`);
|
|
261
265
|
const clusterId = result.clusterId ??
|
|
262
266
|
result.uuid ??
|
|
263
267
|
result.data?.cluster?.uuid ??
|
|
@@ -265,6 +269,7 @@ async function createClusterViaApi(page, clusterName, region = 'GCP') {
|
|
|
265
269
|
if (!clusterId) {
|
|
266
270
|
throw new Error(`Cluster creation response missing UUID: ${JSON.stringify(result)}`);
|
|
267
271
|
}
|
|
272
|
+
console.log(`Created cluster via API: clusterId=${clusterId} namespace=${clusterId}-zeebe orgId=${orgId} name="${clusterName}"`);
|
|
268
273
|
return clusterId;
|
|
269
274
|
}
|
|
270
275
|
exports.createClusterViaApi = createClusterViaApi;
|