Commit 86a3bd0
test: fix tls-inception
Make sure all the data is read before checking its validity.
Remove `gotHello` variable and just check that the ssl `end` event
is received.
Remove unused variables.
PR-URL: #4195
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Fedor Indutny <fedor@indutny.com>1 parent 37ed05b commit 86a3bd0Copy full SHA for 86a3bd0
File tree
Expand file treeCollapse file tree
1 file changed
+4
-10
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+4
-10
lines changedOpen diff view settings
Collapse file
test/parallel/test-tls-inception.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-inception.js+4-10Lines changed: 4 additions & 10 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 | |
| ||
43 | 42 | |
44 | 43 | |
45 | 44 | |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | 45 | |
51 | 46 | |
52 | 47 | |
| ||
62 | 57 | |
63 | 58 | |
64 | 59 | |
65 | | - |
| 60 | + |
66 | 61 | |
67 | | - |
68 | 62 | |
69 | | - |
| 63 | + |
70 | 64 | |
71 | 65 | |
72 | 66 | |
73 | 67 | |
74 | | - |
| 68 | + |
75 | 69 | |
76 | 70 | |
0 commit comments