Hack to get Mac end2end test working

pull/1397/head
Craig Tiller 10 years ago
parent 81e57d9acf
commit 76dcd38332
  1. 2
      src/cpp/common/completion_queue.cc

@ -92,7 +92,7 @@ bool CompletionQueue::Pluck(CompletionQueueTag* tag) {
void CompletionQueue::TryPluck(CompletionQueueTag* tag) {
std::unique_ptr<grpc_event, EventDeleter> ev;
ev.reset(grpc_completion_queue_pluck(cq_, tag, gpr_inf_past));
ev.reset(grpc_completion_queue_pluck(cq_, tag, gpr_time_0));
if (!ev) return;
bool ok = ev->data.op_complete == GRPC_OP_OK;
void* ignored = tag;

Loading…
Cancel
Save