aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/httpcli
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-13 09:51:17 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-13 09:51:17 -0700
commit58bbc864badff97950bb68a64ce3ade8662bec5d (patch)
tree5196e7d7ce9ed4581a1c64f9f5e89bfc90e9bd7a /test/core/httpcli
parent354398f9f5191bb44198b94e1828eafb60de5a67 (diff)
Updating wrapped languages to new time functions
Diffstat (limited to 'test/core/httpcli')
-rw-r--r--test/core/httpcli/httpcli_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/httpcli/httpcli_test.c b/test/core/httpcli/httpcli_test.c
index ca0b2d1519..4801eb3e39 100644
--- a/test/core/httpcli/httpcli_test.c
+++ b/test/core/httpcli/httpcli_test.c
@@ -145,8 +145,8 @@ int main(int argc, char **argv) {
gpr_free(args[0]);
gpr_free(args[2]);
- gpr_sleep_until(
- gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), gpr_time_from_seconds(5)));
+ gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME),
+ gpr_time_from_seconds(5, GPR_TIMESPAN)));
grpc_test_init(argc, argv);
grpc_init();