test: fix internal ErrorProne failure (#9761)

This commit is contained in:
Kun Zhang 2022-12-19 12:54:24 -08:00 committed by GitHub
parent 43bc578f20
commit 6adae08597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3516,7 +3516,7 @@ public abstract class XdsClientImplTestBase {
// Establish the adsStream object // Establish the adsStream object
xdsClient.watchXdsResource(XdsClusterResource.getInstance(), CDS_RESOURCE, xdsClient.watchXdsResource(XdsClusterResource.getInstance(), CDS_RESOURCE,
cdsResourceWatcher); cdsResourceWatcher);
resourceDiscoveryCalls.take(); // clear this entry DiscoveryRpcCall unused = resourceDiscoveryCalls.take(); // clear this entry
// Shutdown server and initiate a request // Shutdown server and initiate a request
xdsServer.shutdownNow(); xdsServer.shutdownNow();