Commit b6d33f6
test: change test to not be sensitive to buffer send size
Change the test to not be sensitive to the buffer size causing
TCP resets to be received by the client causing the test to fail.
The test now reads the entire expected buffer and then checks for
the expected event to fire.
PR-URL: #31499
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent cef5502 commit b6d33f6Copy full SHA for b6d33f6
File tree
Expand file treeCollapse file tree
1 file changed
+11
-6
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+11
-6
lines changedOpen diff view settings
Collapse file
test/parallel/test-tls-close-event-after-write.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-close-event-after-write.js+11-6Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
| 16 | + |
15 | 17 | |
16 | 18 | |
17 | 19 | |
18 | 20 | |
19 | 21 | |
20 | | - |
21 | | - |
| 22 | + |
22 | 23 | |
23 | 24 | |
24 | 25 | |
25 | 26 | |
26 | 27 | |
27 | 28 | |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
| 29 | + |
| 30 | + |
32 | 31 | |
33 | 32 | |
34 | 33 | |
35 | 34 | |
36 | 35 | |
37 | 36 | |
38 | 37 | |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
39 | 44 | |
40 | 45 | |
41 | 46 | |
0 commit comments