Skip to content

Commit 5606081

Browse files
authored
fix flaky xds test due to verification race (#10798) (#10808)
1 parent 2531563 commit 5606081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3010,10 +3010,10 @@ public void flowControlAbsent() throws Exception {
30103010
+ "Cluster cluster.googleapis.com2: unspecified cluster discovery type";
30113011
call.verifyRequestNack(CDS, Arrays.asList(CDS_RESOURCE, anotherCdsResource), VERSION_1, "0001",
30123012
NODE, Arrays.asList(errorMsg));
3013-
verify(anotherWatcher).onResourceDoesNotExist(eq(anotherCdsResource));
30143013
barrier.await();
30153014
latch.await(10, TimeUnit.SECONDS);
30163015
verify(cdsResourceWatcher, times(2)).onChanged(any());
3016+
verify(anotherWatcher).onResourceDoesNotExist(eq(anotherCdsResource));
30173017
verify(anotherWatcher).onError(any());
30183018
}
30193019

0 commit comments

Comments
 (0)