diff options
author | Craig Tiller <ctiller@google.com> | 2015-08-06 08:41:31 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-08-06 08:41:31 -0700 |
commit | 4c06b820e0a6d402002970cb04458d3ec593a683 (patch) | |
tree | 58f9eccc347e921cf52a84b554816be25145862a /test/core/security | |
parent | 69f90e6382b64ee96b5b1a223bf834194698632d (diff) |
Add a test of non-blocking API behavior
... also fix things that were broken :)
Diffstat (limited to 'test/core/security')
-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 990855ac6a..7df6fade6b 100644 --- a/test/core/security/oauth2_utils.c +++ b/test/core/security/oauth2_utils.c @@ -85,7 +85,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_worker worker; - grpc_pollset_work(&request.pollset, &worker, + grpc_pollset_work(&request.pollset, &worker, gpr_now(GPR_CLOCK_MONOTONIC), gpr_inf_future(GPR_CLOCK_MONOTONIC)); } gpr_mu_unlock(GRPC_POLLSET_MU(&request.pollset)); |