aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cpp/end2end/hybrid_end2end_test.cc17
1 files changed, 4 insertions, 13 deletions
diff --git a/test/cpp/end2end/hybrid_end2end_test.cc b/test/cpp/end2end/hybrid_end2end_test.cc
index b4270070e2..a19fccbb6b 100644
--- a/test/cpp/end2end/hybrid_end2end_test.cc
+++ b/test/cpp/end2end/hybrid_end2end_test.cc
@@ -217,7 +217,8 @@ class HybridEnd2endTest : public ::testing::Test {
}
// Create a separate cq for each potential handler.
for (int i = 0; i < 5; i++) {
- cqs_.push_back(builder.AddCompletionQueue(i == num_cqs_frequently_polled - 1));
+ cqs_.push_back(
+ builder.AddCompletionQueue(i == num_cqs_frequently_polled - 1));
}
server_ = builder.BuildAndStart();
}
@@ -510,22 +511,12 @@ TEST_F(HybridEnd2endTest, GenericEchoAsyncRequestStreamResponseStream) {
SetUpServer(&service, nullptr, &generic_service, 3);
ResetStub();
std::thread generic_handler_thread([this, &generic_service] {
- gpr_log(GPR_DEBUG, "t0 start");
HandleGenericCall(&generic_service, cqs_[0].get());
- gpr_log(GPR_DEBUG, "t0 done");
});
std::thread request_stream_handler_thread(
- [this, &service] {
- gpr_log(GPR_DEBUG, "t1 start");
- HandleClientStreaming(&service, cqs_[1].get());
- gpr_log(GPR_DEBUG, "t1 done");
- });
+ [this, &service] { HandleClientStreaming(&service, cqs_[1].get()); });
std::thread response_stream_handler_thread(
- [this, &service] {
- gpr_log(GPR_DEBUG, "t2 start");
- HandleServerStreaming(&service, cqs_[2].get());
- gpr_log(GPR_DEBUG, "t2 done");
- });
+ [this, &service] { HandleServerStreaming(&service, cqs_[2].get()); });
TestAllMethods();
generic_handler_thread.join();
request_stream_handler_thread.join();