Skip to content

Commit

Permalink
[fix] Trying to avoid the non-determinism in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julianduque committed Dec 12, 2013
1 parent 2e75aa1 commit 4822fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/worker/simple-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ vows.describe('forever/worker/simple').addBatch({
reader2.send(['data']);
reader2.destroy();

setTimeout(self.callback, 1);
self.callback();
});
},
'it should not crash the worker': function(worker) {
Expand Down

0 comments on commit 4822fec

Please sign in to comment.