From c5dac97bd3b1e87b228d0d130ce2cb457297fdd0 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 19 Aug 2015 11:49:53 -0700 Subject: [PATCH] Added a test, enabled other tests --- src/node/test/server_test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/node/test/server_test.js b/src/node/test/server_test.js index 4670a62efa3..9574709f602 100644 --- a/src/node/test/server_test.js +++ b/src/node/test/server_test.js @@ -111,7 +111,7 @@ describe('server', function() { it('tryShutdown should shutdown successfully', function(done) { server.tryShutdown(done); }); - it.only('forceShutdown should shutdown successfully', function() { + it('forceShutdown should shutdown successfully', function() { server.forceShutdown(); }); it('tryShutdown should be idempotent', function(done) { @@ -122,5 +122,9 @@ describe('server', function() { server.forceShutdown(); server.forceShutdown(); }); + it('forceShutdown should trigger tryShutdown', function(done) { + server.tryShutdown(done); + server.forceShutdown(); + }); }); });