From 3574efe92e8e1cccc9d85670af57935a951867b9 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 24 Oct 2026 23:19:02 +0200 Subject: [PATCH] Test: the rest-fbx lease test waits for the Blender probe, so the lease is what stops it Co-Authored-By: Claude Opus 5.5 --- scripts/test-vili-daemon.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test-vili-daemon.mjs b/scripts/test-vili-daemon.mjs index 31a8429..422aa84 100644 --- a/scripts/test-vili-daemon.mjs +++ b/scripts/test-vili-daemon.mjs @@ -1830,6 +1830,7 @@ test("the lease goes between rest-fbx's directory and its copy: nothing is copie const daemon = await idunnDaemon({ leased: true, loseWhenExists: "artifacts/*", python: rest.python }); try { await until(() => existsSync(path.join(daemon.stateRoot, "vili.service.cc")), "the service store", 10); + await until(async () => /^Blender /.test((await backendOf(daemon)).blender), "the Blender probe"); const answer = await restRequest(daemon); assert.equal(answer.status, 503); assert.equal(answer.body.code, "write-lease-lost");