From 69ffb0ece861bde839932e1dc70e53d6a0db2b4a Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Mon, 3 Jun 2019 09:53:59 -0700 Subject: [PATCH] Remove test of default behavior --- packages/grpc-native-core/test/surface_test.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/grpc-native-core/test/surface_test.js b/packages/grpc-native-core/test/surface_test.js index dd936b6c..a4a1aa93 100644 --- a/packages/grpc-native-core/test/surface_test.js +++ b/packages/grpc-native-core/test/surface_test.js @@ -934,19 +934,6 @@ describe('Other conditions', function() { call.write({}); call.end(); }); - it('client should not wait for ready by default', function(done) { - this.timeout(15000); - const disconnectedClient = new Client('foo.test.google.com:50051', grpc.credentials.createInsecure()); - const metadata = new grpc.Metadata({waitForReady: false}); - const deadline = new Date(); - deadline.setSeconds(deadline.getSeconds() + 10); - disconnectedClient.unary({}, metadata, {deadline: deadline}, (error, value) =>{ - assert(error); - assert.strictEqual(error.code, grpc.status.UNAVAILABLE); - done(); - }); - - }); it('client should wait for a connection with waitForReady on', function(done) { /* We have to wait for the client to reach the first connection timeout * and go to TRANSIENT_FAILURE to confirm that the waitForReady option