Merge pull request #14555 from dgquintas/grpclb_test_make_compiler_happy

grpclb_end2end test tweaks for compiler happiness
pull/14542/head
David G. Quintas 7 years ago committed by GitHub
commit a672e85284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      test/cpp/end2end/grpclb_end2end_test.cc

@ -384,7 +384,8 @@ class GrpclbEnd2endTest : public ::testing::Test {
SetNextResolution(addresses);
}
void ResetStub(int fallback_timeout = 0, grpc::string expected_targets = "") {
void ResetStub(int fallback_timeout = 0,
const grpc::string& expected_targets = "") {
ChannelArguments args;
args.SetGrpclbFallbackTimeout(fallback_timeout);
args.SetPointer(GRPC_ARG_FAKE_RESOLVER_RESPONSE_GENERATOR,
@ -459,7 +460,7 @@ class GrpclbEnd2endTest : public ::testing::Test {
void WaitForBackend(size_t backend_idx) {
do {
SendRpc();
(void)SendRpc();
} while (backends_[backend_idx]->request_count() == 0);
ResetBackendCounters();
}

Loading…
Cancel
Save