From 77d934aa03b286a0eceee0d3a83b4d64431c4e01 Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Mon, 10 Feb 2014 13:57:14 -0700 Subject: [PATCH] restore the clock before leaving the process to die --- test/fixtures/keepalive.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/fixtures/keepalive.js b/test/fixtures/keepalive.js index e9267784d..a70479865 100644 --- a/test/fixtures/keepalive.js +++ b/test/fixtures/keepalive.js @@ -24,6 +24,8 @@ es.search({ console.log(clock); } + clock.restore(); + var destroyedSockets = 0; function countDestroyed(sockets) { destroyedSockets += _.where(sockets, { destroyed: true}).length;