mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 18:19:05 +02:00
test(daytona): allow child startup before deadline witness
This commit is contained in:
1 parent
0ec73dfd1b
commit
6514d4114d
1 file changed
+2
-1
@@ -119,7 +119,8 @@ it("rejects nonzero tar exit even after a valid listing", async () => {
|
||||
|
||||
it("times out and reaps a stalled listing process", async () => {
|
||||
const checkReaped = await fakeTar(`setInterval(() => {}, 1_000);`);
|
||||
await expect(assertTarballEntriesConfined("unused.tar", 200)).rejects.toThrow("timed out");
|
||||
// Leave enough startup time for the PID witness under parallel test load.
|
||||
await expect(assertTarballEntriesConfined("unused.tar", 2_000)).rejects.toThrow("timed out");
|
||||
await checkReaped();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user