Skip to content

Commit b36abdb

Browse files
committed
increase test timeout
1 parent 40f8149 commit b36abdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test("simple", done => {
2424
const child = fork(join(testDir, "child.js"));
2525

2626
child.on("exit", async () => {
27-
await sleep(100);
27+
await sleep(1000); // give the child some time to exit
2828
const [ppid, envVar] = (await readFile(join(testDir, "test-output"), "utf8")).split(",");
2929

3030
// check if process was correctly orphaned. on unix, this should generally mean that

0 commit comments

Comments
 (0)