aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-30 07:47:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-30 07:47:12 -0700
commit7d024c736937851f03df012d9fae4d063c540eb6 (patch)
tree1cfd7b83a77098184745dde27d58524350ae581d /test/core
parent7b582f6229c8ca784d4b0b7cf9727ca6af71c0a7 (diff)
parentc5eccd45f4b5cc0926a2060fa4b2ec8942c66a98 (diff)
Merge pull request #2689 from yang-g/auth_test_failure
Fix clock type mismatch
Diffstat (limited to 'test/core')
-rw-r--r--test/core/security/oauth2_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/security/oauth2_utils.c b/test/core/security/oauth2_utils.c
index ecd04fd9e1..2df2f99269 100644
--- a/test/core/security/oauth2_utils.c
+++ b/test/core/security/oauth2_utils.c
@@ -84,7 +84,7 @@ char *grpc_test_fetch_oauth2_token_with_credentials(grpc_credentials *creds) {
gpr_mu_lock(GRPC_POLLSET_MU(&request.pollset));
while (!request.is_done)
- grpc_pollset_work(&request.pollset, gpr_inf_future(GPR_CLOCK_REALTIME));
+ grpc_pollset_work(&request.pollset, gpr_inf_future(GPR_CLOCK_MONOTONIC));
gpr_mu_unlock(GRPC_POLLSET_MU(&request.pollset));
grpc_pollset_shutdown(&request.pollset, do_nothing, NULL);