diff options
author | Craig Tiller <ctiller@google.com> | 2015-01-12 16:41:56 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-01-12 16:41:56 -0800 |
commit | b2a42f3271a72ed693b36def6c7d5d08beda2dc3 (patch) | |
tree | 5800b04160c129f35cda47feb4864387ac1a5bc8 /test/cpp/end2end | |
parent | 9608f0f212f847c02f5aa768079ce5dcb04caa04 (diff) |
Make this file compile
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r-- | test/cpp/end2end/sync_client_async_server_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/end2end/sync_client_async_server_test.cc b/test/cpp/end2end/sync_client_async_server_test.cc index f4dad60e22..54e7648cb6 100644 --- a/test/cpp/end2end/sync_client_async_server_test.cc +++ b/test/cpp/end2end/sync_client_async_server_test.cc @@ -49,7 +49,7 @@ #include <grpc++/status.h> #include <grpc++/stream.h> #include "test/cpp/end2end/async_test_server.h" -#include "net/util/netutil.h" +#include "test/core/util/port.h" #include <gtest/gtest.h> using grpc::cpp::test::util::EchoRequest; @@ -73,7 +73,7 @@ void ServerLoop(void* s) { class End2endTest : public ::testing::Test { protected: void SetUp() override { - int port = PickUnusedPortOrDie(); + int port = grpc_pick_unused_port_or_die(); // TODO(yangg) protobuf has a StringPrintf, maybe use that std::ostringstream oss; oss << "[::]:" << port; |