Commit 55fce66
test: simplify test-gc-http-client
Instead of sending a fixed number of requests, detect when GC has
started and stop sending requests at that point.
PR-URL: #41620
Refs: 47ecf2060343
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 6d268fd commit 55fce66Copy full SHA for 55fce66
File tree
Expand file treeCollapse file tree
1 file changed
+21
-13
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
1 file changed
+21
-13
lines changedOpen diff view settings
Collapse file
test/sequential/test-gc-http-client.js
Copy file name to clipboardExpand all lines: test/sequential/test-gc-http-client.js+21-13Lines changed: 21 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
| 9 | + |
8 | 10 | |
9 | 11 | |
10 | 12 | |
11 | 13 | |
12 | 14 | |
13 | 15 | |
14 | | - |
| 16 | + |
15 | 17 | |
16 | 18 | |
17 | 19 | |
18 | 20 | |
19 | | - |
20 | | - |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
| 23 | + |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | | - |
28 | | - |
| 27 | + |
| 28 | + |
29 | 29 | |
30 | 30 | |
31 | 31 | |
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
41 | 41 | |
42 | 42 | |
43 | 43 | |
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
53 | 53 | |
54 | 54 | |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
59 | 67 | |
0 commit comments