Commit a385277
test: fix flaky test-vm-sigint-existing-handler
Set the `SIGUSR2` handler before spawning the child process to make sure
the signal is always handled.
Ref: #7854
Fixes: #7981
PR-URL: #7982
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 909254c commit a385277Copy full SHA for a385277
File tree
Expand file treeCollapse file tree
2 files changed
+10
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+10
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-vm-sigint-existing-handler.js
Copy file name to clipboardExpand all lines: test/parallel/test-vm-sigint-existing-handler.js+6-3Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | | - |
65 | | - |
66 | | - |
67 | 64 | |
| 65 | + |
| 66 | + |
68 | 67 | |
69 | 68 | |
70 | 69 | |
71 | 70 | |
72 | 71 | |
73 | 72 | |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
74 | 77 | |
75 | 78 | |
76 | 79 | |
|
Collapse file
test/parallel/test-vm-sigint.js
Copy file name to clipboardExpand all lines: test/parallel/test-vm-sigint.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
| 29 | + |
| 30 | + |
28 | 31 | |
29 | 32 | |
30 | 33 | |
31 | 34 | |
32 | | - |
| 35 | + |
33 | 36 | |
34 | 37 | |
35 | 38 | |
|
0 commit comments