diff options
author | 2017-01-17 09:14:29 -0500 | |
---|---|---|
committer | 2017-01-31 15:40:20 -0500 | |
commit | ca7effcdff69baba8e52e4c83fe808491df60f36 (patch) | |
tree | 7e04f13f655f44c5930233381b615e1d54e5386e /test/core/http | |
parent | c88834ba996084db5f530706a09892bdd900e7dc (diff) |
Replace timeout/scaling macros with functions.
Diffstat (limited to 'test/core/http')
-rw-r--r-- | test/core/http/httpcli_test.c | 2 | ||||
-rw-r--r-- | test/core/http/httpscli_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/core/http/httpcli_test.c b/test/core/http/httpcli_test.c index 4cdbb5d6da..6cc00f871d 100644 --- a/test/core/http/httpcli_test.c +++ b/test/core/http/httpcli_test.c @@ -51,7 +51,7 @@ static gpr_mu *g_mu; static grpc_polling_entity g_pops; static gpr_timespec n_seconds_time(int seconds) { - return GRPC_TIMEOUT_SECONDS_TO_DEADLINE(seconds); + return grpc_timeout_seconds_to_deadline(seconds); } static void on_finish(grpc_exec_ctx *exec_ctx, void *arg, grpc_error *error) { diff --git a/test/core/http/httpscli_test.c b/test/core/http/httpscli_test.c index 72017cfa54..e1a26d91e9 100644 --- a/test/core/http/httpscli_test.c +++ b/test/core/http/httpscli_test.c @@ -51,7 +51,7 @@ static gpr_mu *g_mu; static grpc_polling_entity g_pops; static gpr_timespec n_seconds_time(int seconds) { - return GRPC_TIMEOUT_SECONDS_TO_DEADLINE(seconds); + return grpc_timeout_seconds_to_deadline(seconds); } static void on_finish(grpc_exec_ctx *exec_ctx, void *arg, grpc_error *error) { |