Skip to content

Commit 66f4825

Browse files
authored
test(node-native): Increase worker block timeout (#18683)
I saw this test flake (doesn't happen a lot but still). I had a quick look at the integration and one idea I had is that maybe sometimes the worker thread blocks before the watchdog is ready and that the thread therefore never gets detected. So here I just increase the timeout before blocking to see if that helps (let me know if that doesn't make any sense). Closes #18688
1 parent 2270256 commit 66f4825

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/node-integration-tests/suites/thread-blocked-native

1 file changed

+1
-1
lines changed

dev-packages/node-integration-tests/suites/thread-blocked-native/worker-block.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { longWork } from './long-work.js';
22

33
setTimeout(() => {
44
longWork();
5-
}, 2000);
5+
}, 5000);

0 commit comments

Comments
 (0)