Commit be41eb7
test: refactor test-http-exit-delay
test-http-exit-delay was introduced to confirm the removal of a 1 second
delay that can occur when exiting node after an http request.
This change refactors the test for simplicity and also in the hopes of
either eliminating flakiness on CI or, if not that, at least making
the source of the flakiness easier to track down.
Ref: 16b59cbc
Fixes: #4045
PR-URL: #4055
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 756ab9c commit be41eb7Copy full SHA for be41eb7
File tree
Expand file treeCollapse file tree
1 file changed
+17
-28
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+17
-28
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-exit-delay.js
Copy file name to clipboard+17-28Lines changed: 17 additions & 28 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
| 14 | + |
29 | 15 | |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
34 | 26 | |
35 | 27 | |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
| 28 | + |
| 29 | + |
41 | 30 | |
0 commit comments