diff options
author | Robbie Shade <rjshade@google.com> | 2017-01-17 09:14:29 -0500 |
---|---|---|
committer | Robbie Shade <rjshade@google.com> | 2017-01-31 15:40:20 -0500 |
commit | ca7effcdff69baba8e52e4c83fe808491df60f36 (patch) | |
tree | 7e04f13f655f44c5930233381b615e1d54e5386e /test/core/memory_usage | |
parent | c88834ba996084db5f530706a09892bdd900e7dc (diff) |
Replace timeout/scaling macros with functions.
Diffstat (limited to 'test/core/memory_usage')
-rw-r--r-- | test/core/memory_usage/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/memory_usage/server.c b/test/core/memory_usage/server.c index 1cae4f4064..ab059c25b8 100644 --- a/test/core/memory_usage/server.c +++ b/test/core/memory_usage/server.c @@ -232,7 +232,7 @@ int main(int argc, char **argv) { gpr_log(GPR_INFO, "Shutting down due to SIGINT"); grpc_server_shutdown_and_notify(server, cq, tag(1000)); GPR_ASSERT(grpc_completion_queue_pluck( - cq, tag(1000), GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5), NULL) + cq, tag(1000), grpc_timeout_seconds_to_deadline(5), NULL) .type == GRPC_OP_COMPLETE); grpc_completion_queue_shutdown(cq); shutdown_started = 1; |