diff options
Diffstat (limited to 'examples/pubsub/subscriber_test.cc')
-rw-r--r-- | examples/pubsub/subscriber_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pubsub/subscriber_test.cc b/examples/pubsub/subscriber_test.cc index 1fdcc8f755..c634aa4f82 100644 --- a/examples/pubsub/subscriber_test.cc +++ b/examples/pubsub/subscriber_test.cc @@ -109,7 +109,8 @@ class SubscriberTest : public ::testing::Test { builder.RegisterService(&service_); server_ = builder.BuildAndStart(); - channel_ = CreateChannel(server_address_.str(), ChannelArguments()); + channel_ = + CreateChannelDeprecated(server_address_.str(), ChannelArguments()); subscriber_.reset(new grpc::examples::pubsub::Subscriber(channel_)); } |