diff options
author | 2015-07-28 00:23:50 -0700 | |
---|---|---|
committer | 2015-07-28 00:23:50 -0700 | |
commit | c5eccd45f4b5cc0926a2060fa4b2ec8942c66a98 (patch) | |
tree | d9ab944f1208a6b7396ae098e4e418d3df0b66e0 /test | |
parent | 26d533ebb8579b1e1da3710631a890ebe38ab58c (diff) |
Fix clock type mismatch
Diffstat (limited to 'test')
-rw-r--r-- | test/core/security/oauth2_utils.c | 2 |
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); |