aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-02 15:29:14 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-02 15:29:14 -0800
commit40d2a4307b8b1e6c794c0eeee6774ddf31e99c6b (patch)
treee2defbb84ec4858e1896e260b016894d5b4708b5 /test/core/surface
parent566316f3a52f67e3b3806fcb052ab442bc7c4af9 (diff)
parent9b5da20897fac8fa215a4aa2e98ba892b417c0e2 (diff)
Merge branch 'async-api-prep' of github.com:ctiller/grpc into async-api
Diffstat (limited to 'test/core/surface')
-rw-r--r--test/core/surface/lame_client_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/surface/lame_client_test.c b/test/core/surface/lame_client_test.c
index 9b9f0202d6..0a6edc1630 100644
--- a/test/core/surface/lame_client_test.c
+++ b/test/core/surface/lame_client_test.c
@@ -51,7 +51,7 @@ int main(int argc, char **argv) {
chan = grpc_lame_client_channel_create();
GPR_ASSERT(chan);
- call = grpc_channel_create_call(
+ call = grpc_channel_create_call_old(
chan, "/Foo", "anywhere",
gpr_time_add(gpr_now(), gpr_time_from_seconds(100)));
GPR_ASSERT(call);
@@ -59,10 +59,10 @@ int main(int argc, char **argv) {
cqv = cq_verifier_create(cq);
/* we should be able to add metadata */
- GPR_ASSERT(GRPC_CALL_OK == grpc_call_add_metadata(call, &md, 0));
+ GPR_ASSERT(GRPC_CALL_OK == grpc_call_add_metadata_old(call, &md, 0));
/* and invoke the call */
- GPR_ASSERT(GRPC_CALL_OK == grpc_call_invoke(call, cq, tag(2), tag(3), 0));
+ GPR_ASSERT(GRPC_CALL_OK == grpc_call_invoke_old(call, cq, tag(2), tag(3), 0));
/* the call should immediately fail */
cq_expect_client_metadata_read(cqv, tag(2), NULL);