aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2017-04-21 11:45:35 +0200
committerGravatar GitHub <noreply@github.com>2017-04-21 11:45:35 +0200
commit393d33c1a952549f1e1c8e63adb250458e6e8e7f (patch)
tree11a221a644dda2bb85ef8a4643d61e6658a4597b /src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs
parent7ef27a88b3dd3d9fa3c927722588793f82b82c96 (diff)
parent09d2f55c34e9a969a180e34c83774c936c2bc5de (diff)
Merge pull request #10756 from jtattermusch/csharp_prevent_reuseport
Eliminate crosstalk between C# tests
Diffstat (limited to 'src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs')
-rw-r--r--src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs b/src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs
index 1d0845e276..22edbed040 100644
--- a/src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs
+++ b/src/csharp/Grpc.Reflection.Tests/ReflectionClientServerTest.cs
@@ -58,7 +58,8 @@ namespace Grpc.Reflection.Tests
{
serviceImpl = new ReflectionServiceImpl(ServerReflection.Descriptor);
- 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 = { ServerReflection.BindService(serviceImpl) },
Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } }