diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-02-01 17:00:13 -0800 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-02-01 17:00:13 -0800 |
commit | 5862f76bd14be059b1ffcd27d72548adede7e7b3 (patch) | |
tree | b4302a768154a66bb594074e094a00c75d2db132 /test/core/iomgr | |
parent | 70659377e53e1c54712b968c4864884338aeb4e3 (diff) |
GRPC_TIMEOUT_MILLIS_TO_DEADLINE now renamed to grpc_timeout_milliseconds_to_deadline
Diffstat (limited to 'test/core/iomgr')
-rw-r--r-- | test/core/iomgr/pollset_set_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/iomgr/pollset_set_test.c b/test/core/iomgr/pollset_set_test.c index f1a56ecafb..40fa858602 100644 --- a/test/core/iomgr/pollset_set_test.c +++ b/test/core/iomgr/pollset_set_test.c @@ -268,7 +268,7 @@ static void pollset_set_test_basic() { make_test_fds_readable(tfds, num_fds); gpr_mu_lock(pollsets[i].mu); - deadline = GRPC_TIMEOUT_MILLIS_TO_DEADLINE(2); + deadline = grpc_timeout_milliseconds_to_deadline(2); GPR_ASSERT(GRPC_ERROR_NONE == grpc_pollset_work(&exec_ctx, pollsets[i].ps, &worker, gpr_now(GPR_CLOCK_MONOTONIC), deadline)); @@ -350,7 +350,7 @@ void pollset_set_test_dup_fds() { make_test_fds_readable(tfds, num_fds); gpr_mu_lock(pollset.mu); - deadline = GRPC_TIMEOUT_MILLIS_TO_DEADLINE(2); + deadline = grpc_timeout_milliseconds_to_deadline(2); GPR_ASSERT(GRPC_ERROR_NONE == grpc_pollset_work(&exec_ctx, pollset.ps, &worker, gpr_now(GPR_CLOCK_MONOTONIC), deadline)); @@ -419,7 +419,7 @@ void pollset_set_test_empty_pollset() { make_test_fds_readable(tfds, num_fds); gpr_mu_lock(pollsets[0].mu); - deadline = GRPC_TIMEOUT_MILLIS_TO_DEADLINE(2); + deadline = grpc_timeout_milliseconds_to_deadline(2); GPR_ASSERT(GRPC_ERROR_NONE == grpc_pollset_work(&exec_ctx, pollsets[0].ps, &worker, gpr_now(GPR_CLOCK_MONOTONIC), deadline)); |