diff options
author | 2015-08-24 13:37:11 -0700 | |
---|---|---|
committer | 2015-08-24 13:37:11 -0700 | |
commit | d2ea03174bdb2589651d3ee82804a7f77ce155b0 (patch) | |
tree | 4270ac2e6a454489280c51a9920a35e6674b0c6b /src/core/security | |
parent | e18076690653b08600cd177ae223ec35d69b234a (diff) | |
parent | b7e22b96865f24b70cbd9ddd96b6882e2b3df771 (diff) |
Merge pull request #2818 from ctiller/y12kdm3
Add a test of non-blocking API behavior
Diffstat (limited to 'src/core/security')
-rw-r--r-- | src/core/security/google_default_credentials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/security/google_default_credentials.c b/src/core/security/google_default_credentials.c index d6092ece32..3631de867a 100644 --- a/src/core/security/google_default_credentials.c +++ b/src/core/security/google_default_credentials.c @@ -115,7 +115,7 @@ static int is_stack_running_on_compute_engine(void) { gpr_mu_lock(GRPC_POLLSET_MU(&detector.pollset)); while (!detector.is_done) { grpc_pollset_worker worker; - grpc_pollset_work(&detector.pollset, &worker, + grpc_pollset_work(&detector.pollset, &worker, gpr_now(GPR_CLOCK_MONOTONIC), gpr_inf_future(GPR_CLOCK_MONOTONIC)); } gpr_mu_unlock(GRPC_POLLSET_MU(&detector.pollset)); |