Skip to content

Commit c5dc6d9

Browse files
authored
chore(e2e): exit after 60 second timeout (#5750)
exit after 60 second timeout
1 parent 1cd1ed2 commit c5dc6d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/compass-e2e-tests/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ function cleanup() {
180180
// 10 minutes of inactivity if we get into a broken state
181181
const timeoutId = setTimeout(() => {
182182
clearInterval(intervalId);
183+
184+
// Just exit now rather than waiting for 10 minutes just so evergreen can
185+
// kill the task and fail anyway.
186+
process.exit(process.exitCode ?? 1);
183187
}, 60_000);
184188

185189
// No need to hold things up for a minute if there's nothing else preventing

0 commit comments

Comments
 (0)