Repository navigation
Commit 2ae018a
committed
fix: let test files exit without process.exit
With --test-force-exit the runner calls process.exit() after each file's tests. On node 24 that can deadlock: the main thread joins V8's worker threads while a concurrent Maglev compile on one of them waits for a GC only the main thread can run (nodejs/node#64274). cli-migrate, the slowest file, hit it often enough to hang a shard until the job timed out. Files now exit on their own; report-stuck-tests names any that don't.1 parent e998c45 commit 2ae018a
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | | - | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments