Commit 2ee7853
test: fix http-many-ended-pipelines flakiness
It can happen that the HTTP connection is closed before the server has received
all the requests, thus the server close condition is never reached. To solve
this, close the server when the socket is fully closed.
PR-URL: #4041
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>1 parent 86b47e8 commit 2ee7853Copy full SHA for 2ee7853
File tree
Expand file treeCollapse file tree
1 file changed
+8
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+8
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-many-ended-pipelines.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-many-ended-pipelines.js+8-4Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
20 | 25 | |
| 26 | + |
21 | 27 | |
22 | 28 | |
23 | | - |
24 | | - |
25 | 29 | |
26 | 30 | |
27 | 31 | |
|
0 commit comments