File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
xds/src/test/java/io/grpc/xds Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ public void fallbackFromBadUrlToGoodOne() {
428
428
429
429
@ Test
430
430
public void testGoodUrlFollowedByBadUrl () {
431
- // Setup xdsClient to fail on stream creation
431
+ // xdsClient should succeed in stream creation as it doesn't need to use the bad url
432
432
String garbageUri = "some. garbage" ;
433
433
String validUri = "localhost:" + mainXdsServer .getServer ().getPort ();
434
434
@@ -437,7 +437,6 @@ public void testGoodUrlFollowedByBadUrl() {
437
437
new ExponentialBackoffPolicy .Provider (), MessagePrinter .INSTANCE , xdsClientMetricReporter );
438
438
439
439
client .watchXdsResource (XdsListenerResource .getInstance (), MAIN_SERVER , ldsWatcher );
440
- fakeClock .forwardTime (20 , TimeUnit .SECONDS );
441
440
verify (ldsWatcher , timeout (5000 )).onChanged (
442
441
XdsListenerResource .LdsUpdate .forApiListener (
443
442
MAIN_HTTP_CONNECTION_MANAGER ));
You can’t perform that action at this time.
0 commit comments