test(instances): increase timeout in silent instance test to avoid flakes
This commit is contained in:
1 parent
3e35fb7ef3
commit
12adddf803
1 file changed
+1
-1
@@ -190,7 +190,7 @@ describe("InstanceManager", () => {
|
|||||||
const fake = writeFakeNvim(env.dir, { mode: "no-hello" });
|
const fake = writeFakeNvim(env.dir, { mode: "no-hello" });
|
||||||
const mgr = await create({ bin: fake.bin });
|
const mgr = await create({ bin: fake.bin });
|
||||||
|
|
||||||
await expect(mgr.ensure("ws-1", { timeoutMs: 250 })).rejects.toMatchObject({
|
await expect(mgr.ensure("ws-1", { timeoutMs: 1_000 })).rejects.toMatchObject({
|
||||||
code: "E_INSTANCE_STARTING",
|
code: "E_INSTANCE_STARTING",
|
||||||
retryable: true,
|
retryable: true,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user