Commit 06d77b8
committed
test: fix flaky test-repl-sigint-nested-eval
There is a race condition where process.kill can be sent before the
target is ready to receive the signal. Or at least that's what I think
is going on. Regardless, objectively, using setTimeout() to slightly
delay the invocation causes the test to not fail anymore using:
tools/test.py --repeat=1000 test/parallel/test-repl-sigint-nested-eval
Fixes: #411231 parent e1ac4e9 commit 06d77b8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments