diff --git a/google/cloud/grpc_utils/completion_queue_test.cc b/google/cloud/grpc_utils/completion_queue_test.cc index 715680e..670ea9b 100644 --- a/google/cloud/grpc_utils/completion_queue_test.cc +++ b/google/cloud/grpc_utils/completion_queue_test.cc @@ -268,7 +268,6 @@ TEST(CompletionQueueTest, MakeStreamingReadRpc) { } TEST(CompletionQueueTest, RunAsync) { - using ms = std::chrono::milliseconds; CompletionQueue cq; std::thread runner([&cq] { cq.Run(); }); @@ -277,7 +276,6 @@ TEST(CompletionQueueTest, RunAsync) { cq.RunAsync([&done_promise](CompletionQueue&) { done_promise.set_value(); }); auto done = done_promise.get_future(); - EXPECT_EQ(std::future_status::ready, done.wait_for(ms(10))); done.get(); cq.Shutdown();