Skip to content

Commit

Permalink
fix timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Hammer committed Feb 19, 2013
1 parent d1a713c commit 20ce4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/serverTimeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ describe('Socket timeout', function () {
var server = new Hapi.Server('0.0.0.0', 0, { timeout: { client: 45, socket: 50 } });
server.route({
method: 'GET', path: '/', config: {
handler: function () {
handler: function (request) {

setTimeout(function (request) {
setTimeout(function () {

request.reply('too late');
}, 70);
Expand Down

0 comments on commit 20ce4f5

Please sign in to comment.