Commit 41d1e68
test: refactor test-gc-http-client-timeout
Due to server response delay, all possible requests are created anyway.
Instead of doing `36 * os.availableParallelism()` requests, use a fixed
number.
Refs: #48078 (comment)
PR-URL: #48292
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>1 parent 6a58054 commit 41d1e68Copy full SHA for 41d1e68
File tree
Expand file treeCollapse file tree
1 file changed
+7
-18
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
1 file changed
+7
-18
lines changedOpen diff view settings
Collapse file
test/sequential/test-gc-http-client-timeout.js
Copy file name to clipboardExpand all lines: test/sequential/test-gc-http-client-timeout.js+7-18Lines changed: 7 additions & 18 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
| 3 | + |
5 | 4 | |
6 | 5 | |
7 | 6 | |
8 | 7 | |
9 | | - |
10 | 8 | |
11 | 9 | |
12 | 10 | |
| ||
16 | 14 | |
17 | 15 | |
18 | 16 | |
19 | | - |
20 | | - |
21 | | - |
| 17 | + |
22 | 18 | |
23 | | - |
24 | 19 | |
25 | 20 | |
26 | 21 | |
27 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
28 | 25 | |
29 | 26 | |
30 | | - |
31 | | - |
32 | | - |
33 | 27 | |
34 | 28 | |
35 | 29 | |
| ||
41 | 35 | |
42 | 36 | |
43 | 37 | |
44 | | - |
45 | 38 | |
46 | 39 | |
47 | 40 | |
48 | 41 | |
49 | 42 | |
50 | | - |
51 | | - |
52 | | - |
53 | 43 | |
54 | 44 | |
55 | 45 | |
| ||
63 | 53 | |
64 | 54 | |
65 | 55 | |
66 | | - |
67 | 56 | |
68 | | - |
69 | | - |
| 57 | + |
| 58 | + |
70 | 59 | |
71 | 60 | |
72 | 61 | |
|
0 commit comments