Skip to content
Snippets Groups Projects
Commit 7d024c73 authored by Craig Tiller's avatar Craig Tiller
Browse files

Merge pull request #2689 from yang-g/auth_test_failure

Fix clock type mismatch
parents 7b582f62 c5eccd45
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ char *grpc_test_fetch_oauth2_token_with_credentials(grpc_credentials *creds) { ...@@ -84,7 +84,7 @@ char *grpc_test_fetch_oauth2_token_with_credentials(grpc_credentials *creds) {
gpr_mu_lock(GRPC_POLLSET_MU(&request.pollset)); gpr_mu_lock(GRPC_POLLSET_MU(&request.pollset));
while (!request.is_done) 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)); gpr_mu_unlock(GRPC_POLLSET_MU(&request.pollset));
grpc_pollset_shutdown(&request.pollset, do_nothing, NULL); grpc_pollset_shutdown(&request.pollset, do_nothing, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment