Skip to content
This repository has been archived by the owner on Oct 16, 2021. 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: nodejs#25739
  • Loading branch information
indutny authored and jBarz committed Nov 4, 2016
1 parent f9df9ad commit b9f72b9
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 b9f72b9

Please sign in to comment.