Commit 7ea08ee
test: improve reliability in http2-session-timeout
Use `setImmediate()` instead of `setTimeout()` to improve robustness of
test-http2-session-timeout.
Fixes: #20628
Backport-PR-URL: #22850
PR-URL: #22026
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent dcf04dc commit 7ea08eeCopy full SHA for 7ea08ee
File tree
Expand file treeCollapse file tree
1 file changed
+4
-5
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
1 file changed
+4
-5
lines changedOpen diff view settings
Collapse file
test/sequential/test-http2-session-timeout.js
Copy file name to clipboardExpand all lines: test/sequential/test-http2-session-timeout.js+4-5Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | | - |
10 | 9 | |
11 | 10 | |
12 | | - |
| 11 | + |
13 | 12 | |
14 | 13 | |
15 | 14 | |
| ||
19 | 18 | |
20 | 19 | |
21 | 20 | |
22 | | - |
| 21 | + |
23 | 22 | |
24 | 23 | |
25 | 24 | |
| ||
37 | 36 | |
38 | 37 | |
39 | 38 | |
40 | | - |
| 39 | + |
41 | 40 | |
42 | 41 | |
43 | 42 | |
|
0 commit comments