diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2017-04-21 11:46:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-21 11:46:29 +0200 |
commit | 88826aac54131d57a48fe923637e138c430332af (patch) | |
tree | 6bb1582d9ec2076ae91508086d21314005889d38 /src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs | |
parent | 7432d748d7971944f4c57c900042d945f57b7098 (diff) | |
parent | 7c7865b0e12d1f2c93bc57b4ab825bb8ddba2b2e (diff) |
Merge pull request #10757 from jtattermusch/csharp_prevent_reuseport_v13x
Eliminate crosstalk between C# tests (for v1.3.x)
Diffstat (limited to 'src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs')
-rw-r--r-- | src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs b/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs index 50dacc2eaa..02bcd18cb5 100644 --- a/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs +++ b/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs @@ -55,7 +55,8 @@ namespace Math.Tests [TestFixtureSetUp] public void Init() { - 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 = { Math.BindService(new MathServiceImpl()) }, Ports = { { Host, ServerPort.PickUnused, ServerCredentials.Insecure } } |