@camunda/e2e-test-suite 0.0.825 → 0.0.827
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.
|
@@ -138,5 +138,12 @@ async function waitForClusterHealthyViaApi(page, clusterUuid, timeoutMs = 150000
|
|
|
138
138
|
const cluster = data.data ?? data;
|
|
139
139
|
(0, test_1.expect)(cluster.status?.ready).toBe('Healthy');
|
|
140
140
|
}).toPass({ timeout: timeoutMs, intervals: [30000, 60000] });
|
|
141
|
+
// The cluster reports "Healthy" as soon as its infrastructure is up, but
|
|
142
|
+
// orchestration-cluster authorization and job/task distribution can take
|
|
143
|
+
// a bit longer to finish propagating on a just-created cluster (the same
|
|
144
|
+
// class of delay 8.8's runProcessInstance() already retries around for
|
|
145
|
+
// migrations). Give it a short buffer before handing control back, so the
|
|
146
|
+
// first real test action isn't the thing racing that propagation window.
|
|
147
|
+
await (0, sleep_1.sleep)(60000);
|
|
141
148
|
}
|
|
142
149
|
exports.waitForClusterHealthyViaApi = waitForClusterHealthyViaApi;
|