From b2a42f3271a72ed693b36def6c7d5d08beda2dc3 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 12 Jan 2015 16:41:56 -0800 Subject: [PATCH] Make this file compile --- test/cpp/end2end/sync_client_async_server_test.cc | 4 ++-- 1 file 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 f4dad60e223..54e7648cb6b 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 #include #include "test/cpp/end2end/async_test_server.h" -#include "net/util/netutil.h" +#include "test/core/util/port.h" #include 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;