aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-04-27 15:20:40 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-04-27 15:20:40 -0700
commitcca098e77c3a84ba2109856a277df31224dceb60 (patch)
treeb373400ec70a2e57aea32d5a398a05df290a7c82 /src
parente0183305d19fc72034449f2dd5c0bb6dfe5b9a34 (diff)
parent85c3ab0b0b1c3abf7f8b2c7538e5ca147c88d557 (diff)
Merge pull request #6299 from jtattermusch/fix_5912
Fix Grpc.IntegrationTesting.InteropClientServerTest flake
Diffstat (limited to 'src')
-rw-r--r--src/csharp/Grpc.IntegrationTesting/InteropClient.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
index 5436517960..b3b1abf1bc 100644
--- a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
+++ b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
@@ -494,7 +494,8 @@ namespace Grpc.IntegrationTesting
}
var ex = Assert.ThrowsAsync<RpcException>(async () => await call.ResponseStream.MoveNext());
- Assert.AreEqual(StatusCode.DeadlineExceeded, ex.Status.StatusCode);
+ // We can't guarantee the status code always DeadlineExceeded. See issue #2685.
+ Assert.Contains(ex.Status.StatusCode, new[] { StatusCode.DeadlineExceeded, StatusCode.Internal });
}
Console.WriteLine("Passed!");
}