mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Added a test, enabled other tests
This commit is contained in:
parent
47f39044f1
commit
1cb948a0a7
@ -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…
x
Reference in New Issue
Block a user