From 8ea4e5fef07cf1c3ec789045c5dcacfb90b83423 Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Tue, 16 Sep 2025 10:20:28 +0100 Subject: [PATCH 1/3] Sleep after ACL setup --- integration-tests/js-compute/setup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/js-compute/setup.js b/integration-tests/js-compute/setup.js index 38481f9e25..6038ca8580 100755 --- a/integration-tests/js-compute/setup.js +++ b/integration-tests/js-compute/setup.js @@ -148,6 +148,7 @@ async function setupAcl() { } catch (e) { if (!e.message.includes('Duplicate record')) throw e; } + await sleep(60); // wait for a minute for ACL to be ready } zx.verbose = true; From 696c5919f465fc047a3b6b187e2abcc263867dc7 Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Tue, 16 Sep 2025 10:29:18 +0100 Subject: [PATCH 2/3] Add import for sleep --- integration-tests/js-compute/setup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/js-compute/setup.js b/integration-tests/js-compute/setup.js index 6038ca8580..a9c8faa2d2 100755 --- a/integration-tests/js-compute/setup.js +++ b/integration-tests/js-compute/setup.js @@ -3,6 +3,7 @@ import { $ as zx } from 'zx'; import { argv } from 'node:process'; import { getEnv } from './env.js'; +import { sleep } from './assertions.js'; const serviceId = argv[2]; const serviceName = argv[3]; From 06be08eadc792c5e593efab47637c1e6c317ad8e Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Tue, 16 Sep 2025 10:47:57 +0100 Subject: [PATCH 3/3] Correct path --- integration-tests/js-compute/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/js-compute/setup.js b/integration-tests/js-compute/setup.js index a9c8faa2d2..2250d2ebe5 100755 --- a/integration-tests/js-compute/setup.js +++ b/integration-tests/js-compute/setup.js @@ -3,7 +3,7 @@ import { $ as zx } from 'zx'; import { argv } from 'node:process'; import { getEnv } from './env.js'; -import { sleep } from './assertions.js'; +import { sleep } from './fixtures/app/src/assertions.js'; const serviceId = argv[2]; const serviceName = argv[3];