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

fix TimeoutOnSleepingServer interop test

parent 144a698f
No related branches found
No related tags found
No related merge requests found
...@@ -492,6 +492,10 @@ namespace Grpc.IntegrationTesting ...@@ -492,6 +492,10 @@ namespace Grpc.IntegrationTesting
{ {
// Deadline was reached before write has started. Eat the exception and continue. // Deadline was reached before write has started. Eat the exception and continue.
} }
catch (RpcException)
{
// Deadline was reached before write has started. Eat the exception and continue.
}
var ex = Assert.ThrowsAsync<RpcException>(async () => await call.ResponseStream.MoveNext()); var ex = Assert.ThrowsAsync<RpcException>(async () => await call.ResponseStream.MoveNext());
// We can't guarantee the status code always DeadlineExceeded. See issue #2685. // We can't guarantee the status code always DeadlineExceeded. See issue #2685.
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment