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 <noreply@anthropic.com>
This commit is contained in:
parent
37e23f03e2
commit
3574efe92e
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue