Added a test, enabled other tests

pull/2993/head
murgatroid99 9 years ago
parent 18599e2518
commit c5dac97bd3
  1. 6
      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();
});
});
});

Loading…
Cancel
Save