Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: #25739
  • Loading branch information
indutny committed Jul 20, 2015
1 parent 2299773 commit b8d47a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/simple/test-tls-new-session-hang.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ var server = tls.createServer({
socket.destroySoon();
});

// Should not be actually called
server.on('resumeSession', function (id, callback) {
assert(false);
});
server.on('resumeSession', common.mustCall(function() {
// Should not be actually called
}, 0));

server.listen(common.PORT, function() {
var client = tls.connect({
Expand Down

0 comments on commit b8d47a7

Please sign in to comment.