diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-25 09:09:59 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-25 09:09:59 -0800 |
commit | c1f1162787a84abdbc6cbe1717909692fad41261 (patch) | |
tree | ae972c6022753c715ef5626863a89681be0bbf79 /test/core/echo | |
parent | 4b5c4dbbb8c63a959c2c806b01973fa608031f1e (diff) |
Drastic speed up
Diffstat (limited to 'test/core/echo')
-rw-r--r-- | test/core/echo/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/echo/server.c b/test/core/echo/server.c index 3eb6f4345a..bc84645a04 100644 --- a/test/core/echo/server.c +++ b/test/core/echo/server.c @@ -165,7 +165,8 @@ int main(int argc, char **argv) { grpc_completion_queue_shutdown(cq); shutdown_started = 1; } - ev = grpc_completion_queue_next(cq, GRPC_TIMEOUT_SECONDS_TO_DEADLINE(1)); + ev = grpc_completion_queue_next( + cq, gpr_time_add(gpr_now(), gpr_time_from_seconds(1))); if (!ev) continue; s = ev->tag; switch (ev->type) { |