Skip to content

Commit

Permalink
CLOSED - task 2: Make pass all tests relaible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Mar 22, 2012
1 parent b904627 commit ec34856
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/io/socket/testutils/socketio.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ var ns1 = io.of('/ns1').on('connection', function(socket) {
});

var ns2 = io.of('/ns2').on('connection', function(socket) {
main.send("ns2");
ns1.send("ns2");
setTimeout(function() {
main.send("ns2");
ns1.send("ns2");
}, 200);
});

process.stdout.write("__:OK\n");

0 comments on commit ec34856

Please sign in to comment.