Skip to content

Commit

Permalink
fix test comment and small code tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dgquintas committed Jul 11, 2018
1 parent 50409fe commit 8427571
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/cpp/end2end/client_lb_end2end_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8427571

Please sign in to comment.