diff --git a/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java b/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java index 054b1252ec0..4c3e05d8f1b 100644 --- a/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java +++ b/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java @@ -3010,10 +3010,10 @@ public void flowControlAbsent() throws Exception { + "Cluster cluster.googleapis.com2: unspecified cluster discovery type"; call.verifyRequestNack(CDS, Arrays.asList(CDS_RESOURCE, anotherCdsResource), VERSION_1, "0001", NODE, Arrays.asList(errorMsg)); - verify(anotherWatcher).onResourceDoesNotExist(eq(anotherCdsResource)); barrier.await(); latch.await(10, TimeUnit.SECONDS); verify(cdsResourceWatcher, times(2)).onChanged(any()); + verify(anotherWatcher).onResourceDoesNotExist(eq(anotherCdsResource)); verify(anotherWatcher).onError(any()); }