Skip to content

Commit

Permalink
test: discard data received by client
Browse files Browse the repository at this point in the history
This test was timing out after update to OpenSSL-1.1.1e.

PR-URL: #32328
Fixes: #32210
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
hassaanp authored and codebytere committed Mar 30, 2020
1 parent 260bd81 commit f4bd01c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/sequential/test-tls-psk-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const timeout = setTimeout(() => cleanUp('Timeouted'), 5000);

function waitForPort(port, cb) {
const socket = net.connect(common.PORT, () => {
socket.on('data', () => {});
socket.end();
socket.on('end', cb);
});
Expand Down

0 comments on commit f4bd01c

Please sign in to comment.