aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/create_test_channel.cc
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-08-27 12:29:45 -0700
committerGravatar yang-g <yangg@google.com>2015-08-27 12:29:45 -0700
commit730055d9628ca6d27e46d7c6716148a8d93bf95d (patch)
treebc24ac6a57d45f87daca66cf54a3b8f0cf61aea5 /test/cpp/util/create_test_channel.cc
parentdafcce980d847e3a90cb7aa31641c464bbc5809a (diff)
implementation fix
Diffstat (limited to 'test/cpp/util/create_test_channel.cc')
-rw-r--r--test/cpp/util/create_test_channel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/util/create_test_channel.cc b/test/cpp/util/create_test_channel.cc
index 161b4bdc1d..e993d14e71 100644
--- a/test/cpp/util/create_test_channel.cc
+++ b/test/cpp/util/create_test_channel.cc
@@ -74,9 +74,9 @@ std::shared_ptr<Channel> CreateTestChannel(
if (creds.get()) {
channel_creds = CompositeCredentials(creds, channel_creds);
}
- return CreateChannel(connect_to, channel_creds, channel_args);
+ return CreateCustomChannel(connect_to, channel_creds, channel_args);
} else {
- return CreateChannel(server, InsecureCredentials(), channel_args);
+ return CreateChannel(server, InsecureCredentials());
}
}