Skip to content

Commit e04eefe

Browse files
committed
increase waiting period to avoid flakiness
1 parent 39175c0 commit e04eefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/test/shared/utilities/processUtils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ function getSleepCmd() {
363363
// ChildProcess.stop is non-async and doesn't wait for the process to be stopped.
364364
async function stopAndWait(cp: ChildProcess, clock: FakeTimers.InstalledClock) {
365365
cp.stop(true)
366-
await clock.tickAsync(ChildProcess.stopTimeout)
366+
await clock.tickAsync(ChildProcess.stopTimeout * 2)
367367
}
368368

369369
function startSleepProcess(timeout: number = 90) {

0 commit comments

Comments
 (0)