Merge pull request #24095 from donnadionne/import_fix

Cannot igore return values of SendRpc.
pull/24111/head
donnadionne 4 years ago committed by GitHub
commit 5bb8cdeeac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/xds_end2end_test.cc

@ -3665,7 +3665,7 @@ TEST_P(LdsRdsTest, XdsRoutingClusterUpdateClustersWithPickingDelays) {
// Send exactly one RPC with no deadline and with wait_for_ready=true. // Send exactly one RPC with no deadline and with wait_for_ready=true.
// This RPC will not complete until after backend 0 is started. // This RPC will not complete until after backend 0 is started.
std::thread sending_rpc([this]() { std::thread sending_rpc([this]() {
SendRpc(RpcOptions().set_wait_for_ready(true).set_timeout_ms(0)); CheckRpcSendOk(1, RpcOptions().set_wait_for_ready(true).set_timeout_ms(0));
}); });
// Send a non-wait_for_ready RPC which should fail, this will tell us // Send a non-wait_for_ready RPC which should fail, this will tell us
// that the client has received the update and attempted to connect. // that the client has received the update and attempted to connect.

Loading…
Cancel
Save