Skip to content

Commit

Permalink
test: make client ping timeout test more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Oct 21, 2012
1 parent 30ac9f7 commit 33c5806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ describe('server', function () {
});

it('should trigger on client if server does not meet ping timeout', function (done) {
var opts = { allowUpgrades: false, pingInterval: 5, pingTimeout: 5 };
var opts = { allowUpgrades: false, pingInterval: 50, pingTimeout: 30 };
var engine = listen(opts, function (port) {
var socket = new eioc.Socket('ws://localhost:%d'.s(port));
socket.on('open', function () {
Expand Down Expand Up @@ -752,7 +752,7 @@ describe('server', function () {
});
});
});
});
});
});

describe('send', function() {
Expand Down

0 comments on commit 33c5806

Please sign in to comment.