Addressed review comments

pull/19682/head
Moiz Haidry 6 years ago
parent 7e2c5845e1
commit f4b1182a10
  1. 7
      test/cpp/end2end/generic_end2end_test.cc

@ -388,11 +388,8 @@ TEST_F(GenericEnd2endTest, ShortDeadline) {
EchoRequest request;
EchoResponse response;
{
std::lock_guard<std::mutex> lock(shutting_down_mu_);
shutting_down_ = false;
}
std::thread driver([=] { DriveCompletionQueue(); });
shutting_down_ = false;
std::thread driver([this] { DriveCompletionQueue(); });
request.set_message("");
cli_ctx.set_deadline(gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC),

Loading…
Cancel
Save