Merge pull request #19989 from AspirinSJL/fix_unused

Fix unused result error
pull/20002/head
Juanli Shen 5 years ago committed by GitHub
commit e50c39972f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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