aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/pubsub/publisher_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pubsub/publisher_test.cc')
-rw-r--r--examples/pubsub/publisher_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pubsub/publisher_test.cc b/examples/pubsub/publisher_test.cc
index b7bea5b1bd..4539557a35 100644
--- a/examples/pubsub/publisher_test.cc
+++ b/examples/pubsub/publisher_test.cc
@@ -110,7 +110,8 @@ class PublisherTest : public ::testing::Test {
builder.RegisterService(&service_);
server_ = builder.BuildAndStart();
- channel_ = CreateChannel(server_address_.str(), ChannelArguments());
+ channel_ =
+ CreateChannelDeprecated(server_address_.str(), ChannelArguments());
publisher_.reset(new grpc::examples::pubsub::Publisher(channel_));
}