diff options
author | 2017-04-20 11:39:37 +0200 | |
---|---|---|
committer | 2017-04-20 11:48:58 +0200 | |
commit | 7c7865b0e12d1f2c93bc57b4ab825bb8ddba2b2e (patch) | |
tree | 251d03dae3b03aaa9be8cd60f4c7e48c1b9bea9d /src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs | |
parent | fa729ed914e357e7779afd7a0d77dd4dc1c3dfa8 (diff) |
eliminate crosstalk between C# tests
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs b/src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs index 377dad63f4..48ecc2344f 100644 --- a/src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs +++ b/src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs @@ -67,7 +67,8 @@ namespace Grpc.IntegrationTesting var serverCredentials = new SslServerCredentials(new[] { keyCertPair }, rootCert, true); var clientCredentials = new SslCredentials(rootCert, keyCertPair); - server = new Server + // Disable SO_REUSEPORT to prevent https://github.com/grpc/grpc/issues/10755 + server = new Server(new[] { new ChannelOption(ChannelOptions.SoReuseport, 0) }) { Services = { TestService.BindService(new SslCredentialsTestServiceImpl()) }, Ports = { { Host, ServerPort.PickUnused, serverCredentials } } |