aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/client_lb_end2end_test.cc
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2018-07-10 18:52:01 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2018-07-10 18:52:01 -0700
commit8427571d0602899591405b6fd4b7e9da96e47b14 (patch)
tree9ee5b20234fd557f020998880a3944ec1d048a72 /test/cpp/end2end/client_lb_end2end_test.cc
parent50409fea277bfcb93d4c192f6fe6c295c5962558 (diff)
fix test comment and small code tweak
Diffstat (limited to 'test/cpp/end2end/client_lb_end2end_test.cc')
-rw-r--r--test/cpp/end2end/client_lb_end2end_test.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/cpp/end2end/client_lb_end2end_test.cc b/test/cpp/end2end/client_lb_end2end_test.cc
index 8fe47db172..8896fc6cae 100644
--- a/test/cpp/end2end/client_lb_end2end_test.cc
+++ b/test/cpp/end2end/client_lb_end2end_test.cc
@@ -546,16 +546,14 @@ TEST_F(ClientLbEnd2endTest, RoundRobinProcessPending) {
SetNextResolution({servers_[0]->port_});
WaitForServer(stub, 0, DEBUG_LOCATION);
// Create a new channel and its corresponding RR LB policy, which will pick
- // the subchannels in READY state from a the previous RPC against the same
+ // the subchannels in READY state from the previous RPC against the same
// target (even if it happened over a different channel, because subchannels
// are globally reused). Progress should happen without any transition from
// this READY state.
- {
- auto second_channel = BuildChannel("round_robin");
- auto second_stub = BuildStub(second_channel);
- SetNextResolution({servers_[0]->port_});
- CheckRpcSendOk(second_stub, DEBUG_LOCATION);
- }
+ auto second_channel = BuildChannel("round_robin");
+ auto second_stub = BuildStub(second_channel);
+ SetNextResolution({servers_[0]->port_});
+ CheckRpcSendOk(second_stub, DEBUG_LOCATION);
}
TEST_F(ClientLbEnd2endTest, RoundRobinUpdates) {