aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/lame_client_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/lame_client_test.c')
-rw-r--r--test/core/surface/lame_client_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/core/surface/lame_client_test.c b/test/core/surface/lame_client_test.c
index 0142768261..3653c5a1b0 100644
--- a/test/core/surface/lame_client_test.c
+++ b/test/core/surface/lame_client_test.c
@@ -51,9 +51,8 @@ int main(int argc, char **argv) {
chan = grpc_lame_client_channel_create();
GPR_ASSERT(chan);
- call = grpc_channel_create_call_old(
- chan, "/Foo", "anywhere",
- gpr_time_add(gpr_now(), gpr_time_from_seconds(100)));
+ call = grpc_channel_create_call_old(chan, "/Foo", "anywhere",
+ GRPC_TIMEOUT_SECONDS_TO_DEADLINE(100));
GPR_ASSERT(call);
cq = grpc_completion_queue_create();
cqv = cq_verifier_create(cq);