diff options
author | 2015-06-08 15:36:53 -0700 | |
---|---|---|
committer | 2015-06-08 15:36:53 -0700 | |
commit | da71a4d391eebbf5d15a1e2aad9e32ec1c99f22b (patch) | |
tree | 3d99213a698f36b06ae456b810da58ba0135775c /src/csharp/Grpc.Examples.Tests | |
parent | 93b0f63043c93d9be54fd83858f8733d2b682408 (diff) |
add host and port overload for new channel
Diffstat (limited to 'src/csharp/Grpc.Examples.Tests')
-rw-r--r-- | src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs b/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs index 5aa6f4162d..aadd49f795 100644 --- a/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs +++ b/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs @@ -60,7 +60,7 @@ namespace math.Tests server.AddServiceDefinition(Math.BindService(new MathServiceImpl())); int port = server.AddListeningPort(host, Server.PickUnusedPort); server.Start(); - channel = new Channel(host + ":" + port); + channel = new Channel(host, port); // TODO(jtattermusch): get rid of the custom header here once we have dedicated tests // for header support. |