Clarify new test comment

pull/15947/head
David Garcia Quintas 7 years ago
parent e41cae3081
commit 30d39c4738
  1. 8
      test/cpp/end2end/client_lb_end2end_test.cc

@ -551,10 +551,10 @@ TEST_F(ClientLbEnd2endTest, RoundRobinProcessPending) {
constexpr int kNumThreads = 4; constexpr int kNumThreads = 4;
std::vector<std::thread> threads; std::vector<std::thread> threads;
// Create and destroy several channels concurrently, executing an RPC each // Create and destroy several channels concurrently, executing an RPC each
// time. This will force the recycling of the underlying (READY) subchannels. // time. The creation of new channels and their corresponding RR LB policies
// The RR LB policy of a newly created channel will pick these subchannels in // is the important part: new channels/RR policies will pick the subchannels
// READY state. Progress should happen without any transition from this READY // in READY state (from a previous RPC against the same target). Progress
// state. // should happen without any transition from this READY state.
threads.push_back(std::thread([=]() { threads.push_back(std::thread([=]() {
for (int i = 0; i < kNumThreads; ++i) { for (int i = 0; i < kNumThreads; ++i) {
auto channel = BuildChannel("round_robin"); auto channel = BuildChannel("round_robin");

Loading…
Cancel
Save