Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaidrygoog committed Jul 19, 2019
1 parent 7e2c584 commit f4b1182
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/cpp/end2end/generic_end2end_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f4b1182

Please sign in to comment.