diff options
author | Tim Emiola <tbetbetbe@users.noreply.github.com> | 2015-05-07 14:23:03 -0700 |
---|---|---|
committer | Tim Emiola <tbetbetbe@users.noreply.github.com> | 2015-05-07 14:23:03 -0700 |
commit | 57e289c103ffd8ca64bb95ad621de0643246f4ed (patch) | |
tree | 7913d7fe963701e3c2ac8bc3f2fc5f5bdfc081fb /src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs | |
parent | eb697aa12a4fa153a84b58a7e82ea5684bad067b (diff) | |
parent | 03e82e2cdffbc0d4c19cea9d16e24d0dbf353376 (diff) |
Merge pull request #1504 from jtattermusch/csharp_api_fixes
Polishing the new C# API
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs index 45380227c2..9e49ce0d17 100644 --- a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs +++ b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs @@ -59,7 +59,7 @@ namespace Grpc.IntegrationTesting server = new Server(); server.AddServiceDefinition(TestServiceGrpc.BindService(new TestServiceImpl())); - int port = server.AddListeningPort(host + ":0", TestCredentials.CreateTestServerCredentials()); + int port = server.AddListeningPort(host, Server.PickUnusedPort, TestCredentials.CreateTestServerCredentials()); server.Start(); var channelArgs = ChannelArgs.CreateBuilder() |