mirror of https://github.com/grpc/grpc-node.git
Use a different invalid DNS name in the test
This commit is contained in:
parent
7b5eae2d2f
commit
fbace6417c
|
@ -939,7 +939,7 @@ describe('Other conditions', function() {
|
|||
* and go to TRANSIENT_FAILURE to confirm that the waitForReady option
|
||||
* makes it end the call instead of continuing to try. A DNS resolution
|
||||
* failure makes that transition very fast. */
|
||||
const disconnectedClient = new Client('nothing.invalid:50051', grpc.credentials.createInsecure());
|
||||
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() + 1);
|
||||
|
|
Loading…
Reference in New Issue