Commit 7904066
test: refactor test-net-server-max-connections
The test timed out on Windows in CI. Made the following changes:
* reduced total connections from 200 to 20
* var -> const
* string concatenation -> templates
* assert.equal -> assert.strictEqual
PR-URL: #8931
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 3919edb commit 7904066Copy full SHA for 7904066
File tree
Expand file treeCollapse file tree
1 file changed
+20
-24
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+20
-24
lines changedOpen diff view settings
Collapse file
test/parallel/test-net-server-max-connections.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-server-max-connections.js+20-24Lines changed: 20 additions & 24 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
| 2 | + |
| 3 | + |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
7 | | - |
8 | | - |
9 | | - |
| 7 | + |
| 8 | + |
| 9 | + |
10 | 10 | |
11 | | - |
12 | | - |
| 11 | + |
13 | 12 | |
14 | | - |
| 13 | + |
15 | 14 | |
16 | | - |
17 | | - |
| 15 | + |
18 | 16 | |
19 | 17 | |
20 | | - |
| 18 | + |
21 | 19 | |
22 | 20 | |
23 | 21 | |
24 | 22 | |
25 | 23 | |
26 | 24 | |
27 | 25 | |
28 | | - |
29 | | - |
30 | 26 | |
31 | 27 | |
32 | | - |
| 28 | + |
33 | 29 | |
34 | 30 | |
35 | 31 | |
| ||
42 | 38 | |
43 | 39 | |
44 | 40 | |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
49 | 45 | |
50 | 46 | |
51 | 47 | |
| ||
58 | 54 | |
59 | 55 | |
60 | 56 | |
61 | | - |
62 | | - |
| 57 | + |
| 58 | + |
63 | 59 | |
64 | | - |
65 | | - |
| 60 | + |
| 61 | + |
66 | 62 | |
67 | 63 | |
68 | 64 | |
| ||
86 | 82 | |
87 | 83 | |
88 | 84 | |
89 | | - |
| 85 | + |
90 | 86 | |
0 commit comments