aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.IntegrationTesting
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-06-08 17:53:45 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-06-09 15:59:39 -0700
commitc8f7d1079e66a87e1248462b5ff2216460f488ab (patch)
tree691bfa2699d847c5eb013e8f60826122097fe0c1 /src/csharp/Grpc.IntegrationTesting
parent2ddb5a6cb54c88ccf36af81f79160150a40df0be (diff)
fix stylecop issues
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting')
-rw-r--r--src/csharp/Grpc.IntegrationTesting/InteropClient.cs3
-rw-r--r--src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
index faee5a8fa5..f0be522bc6 100644
--- a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
+++ b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
@@ -113,7 +113,8 @@ namespace Grpc.IntegrationTesting
List<ChannelOption> channelOptions = null;
if (!string.IsNullOrEmpty(options.serverHostOverride))
{
- channelOptions = new List<ChannelOption> {
+ channelOptions = new List<ChannelOption>
+ {
new ChannelOption(ChannelOptions.SslTargetNameOverride, options.serverHostOverride)
};
}
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
index 33628ce4c7..1a733450c1 100644
--- a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
+++ b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
@@ -62,7 +62,8 @@ namespace Grpc.IntegrationTesting
int port = server.AddListeningPort(host, Server.PickUnusedPort, TestCredentials.CreateTestServerCredentials());
server.Start();
- var options = new List<ChannelOption> {
+ var options = new List<ChannelOption>
+ {
new ChannelOption(ChannelOptions.SslTargetNameOverride, TestCredentials.DefaultHostOverride)
};
channel = new Channel(host, port, TestCredentials.CreateTestClientCredentials(true), options);