restore the clock before leaving the process to die
This commit is contained in:
2
test/fixtures/keepalive.js
vendored
2
test/fixtures/keepalive.js
vendored
@ -24,6 +24,8 @@ es.search({
|
||||
console.log(clock);
|
||||
}
|
||||
|
||||
clock.restore();
|
||||
|
||||
var destroyedSockets = 0;
|
||||
function countDestroyed(sockets) {
|
||||
destroyedSockets += _.where(sockets, { destroyed: true}).length;
|
||||
|
||||
Reference in New Issue
Block a user