Commit d8ba2c0
test: fix
It's not guaranteed that the socket data is received in the same chunk
as the upgrade response. Listen for the `data` event to make sure all
the data is received.
PR-URL: #4602
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>http-upgrade-client flakiness1 parent 6018fa1 commit d8ba2c0Copy full SHA for d8ba2c0
File tree
Expand file treeCollapse file tree
1 file changed
+8
-3
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+8
-3
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-upgrade-client.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-upgrade-client.js+8-3Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
44 | | - |
45 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
46 | 51 | |
47 | 52 | |
48 | 53 | |
|
0 commit comments