mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
test: prevent pass-through race cond with stream event parsing in tunnel tests
This commit is contained in:
@@ -322,7 +322,9 @@ test("startCloudflaredTunnel records an error state when the child exits before
|
||||
)
|
||||
);
|
||||
alive.delete(child.pid);
|
||||
child.emit("exit", 1, null);
|
||||
setTimeout(() => {
|
||||
child.emit("exit", 1, null);
|
||||
}, 5);
|
||||
}, 25);
|
||||
return child;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user