diff --git a/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java b/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java index f3ce4d7182..6b8a5dc370 100644 --- a/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java +++ b/xds/src/test/java/io/grpc/xds/XdsClientImplTestBase.java @@ -3516,7 +3516,7 @@ public abstract class XdsClientImplTestBase { // Establish the adsStream object xdsClient.watchXdsResource(XdsClusterResource.getInstance(), CDS_RESOURCE, cdsResourceWatcher); - resourceDiscoveryCalls.take(); // clear this entry + DiscoveryRpcCall unused = resourceDiscoveryCalls.take(); // clear this entry // Shutdown server and initiate a request xdsServer.shutdownNow();