Skip to content
Snippets Groups Projects
Commit 85c3ab0b authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

fix #5912

parent eeef86ce
No related branches found
No related tags found
No related merge requests found
...@@ -494,7 +494,8 @@ namespace Grpc.IntegrationTesting ...@@ -494,7 +494,8 @@ namespace Grpc.IntegrationTesting
} }
var ex = Assert.ThrowsAsync<RpcException>(async () => await call.ResponseStream.MoveNext()); 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!"); Console.WriteLine("Passed!");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment