Commit 38ed6c2
test: fix flaky test-http2-ping-flood
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
PR-URL: #19395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 5b2f650 commit 38ed6c2Copy full SHA for 38ed6c2
File tree
Expand file treeCollapse file tree
2 files changed
+14
-11
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
2 files changed
+14
-11
lines changedOpen diff view settings
Collapse file
test/sequential/sequential.status
Copy file name to clipboardExpand all lines: test/sequential/sequential.status-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | 16 | |
18 | 17 | |
19 | 18 | |
|
Collapse file
test/sequential/test-http2-ping-flood.js
Copy file name to clipboardExpand all lines: test/sequential/test-http2-ping-flood.js+14-10Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
| 10 | + |
9 | 11 | |
10 | 12 | |
11 | 13 | |
| ||
15 | 17 | |
16 | 18 | |
17 | 19 | |
| 20 | + |
| 21 | + |
18 | 22 | |
19 | 23 | |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
25 | 29 | |
26 | 30 | |
27 | 31 | |
| ||
31 | 35 | |
32 | 36 | |
33 | 37 | |
34 | | - |
35 | | - |
36 | | - |
| 38 | + |
37 | 39 | |
38 | 40 | |
39 | 41 | |
| ||
42 | 44 | |
43 | 45 | |
44 | 46 | |
45 | | - |
46 | | - |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
47 | 51 | |
48 | 52 | |
49 | 53 | |
|
0 commit comments