Commit 121b68a
test: refactor http pipelined socket test
In test-http-incoming-pipelined-socket-destory:
* setTimeout() with no duration -> setImmediate()
* eliminate unneeded exit listener
* use common.mustCall()
* var -> const/let
PR-URL: #10189
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent 4cf7dcf commit 121b68aCopy full SHA for 121b68a
File tree
Expand file treeCollapse file tree
1 file changed
+12
-17
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+12
-17
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-incoming-pipelined-socket-destroy.js
Copy file name to clipboard+12-17Lines changed: 12 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | | - |
5 | | - |
| 4 | + |
| 5 | + |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
10 | | - |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | | - |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
| ||
24 | 25 | |
25 | 26 | |
26 | 27 | |
27 | | - |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | 31 | |
| ||
33 | 34 | |
34 | 35 | |
35 | 36 | |
36 | | - |
| 37 | + |
37 | 38 | |
38 | 39 | |
39 | 40 | |
| ||
47 | 48 | |
48 | 49 | |
49 | 50 | |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | 56 | |
| ||
60 | 60 | |
61 | 61 | |
62 | 62 | |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
| 63 | + |
0 commit comments