Fix unused result error

pull/19989/head
Juanli Shen 5 years ago
parent ba4fca6bc8
commit 1abba74225
  1. 2
      test/cpp/end2end/xds_end2end_test.cc

@ -924,7 +924,7 @@ TEST_F(XdsResolverTest, XdsResolverIsUsed) {
// Use xds-experimental scheme in URI.
ResetStub(0, "", "xds-experimental");
// Send an RPC to trigger resolution.
SendRpc();
auto unused_result = SendRpc();
// Xds resolver returns xds_experimental as the LB policy.
EXPECT_EQ("xds_experimental", channel_->GetLoadBalancingPolicyName());
}

Loading…
Cancel
Save