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 MylesBorins committed Mar 24, 2020
1 parent d640426 commit fcf9b46
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 fcf9b46

Please sign in to comment.