Skip to content

Commit f4bd01c

Browse files
hassaanpcodebytere
authored andcommitted
test: discard data received by client
This test was timing out after update to OpenSSL-1.1.1e. PR-URL: #32328Fixes: #32210 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 260bd81 commit f4bd01c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎test/sequential/test-tls-psk-client.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const timeout = setTimeout(() => cleanUp('Timeouted'), 5000);
3737

3838
functionwaitForPort(port,cb){
3939
constsocket=net.connect(common.PORT,()=>{
40+
socket.on('data',()=>{});
4041
socket.end();
4142
socket.on('end',cb);
4243
});

0 commit comments

Comments
(0)