aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-08-19 11:49:53 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-08-19 11:49:53 -0700
commitc5dac97bd3b1e87b228d0d130ce2cb457297fdd0 (patch)
tree7fe63cd3c0f1fb52805501081b37dd85132a3097 /src/node
parent18599e2518f687c07842aed9b999d838156a3116 (diff)
Added a test, enabled other tests
Diffstat (limited to 'src/node')
-rw-r--r--src/node/test/server_test.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/node/test/server_test.js b/src/node/test/server_test.js
index 4670a62efa..9574709f60 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();
+ });
});
});