fix TimeoutOnSleepingServer interop test

pull/6641/head
Jan Tattermusch 9 years ago
parent 144a698f0c
commit f1cdc33d17
  1. 4
      src/csharp/Grpc.IntegrationTesting/InteropClient.cs

@ -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.

Loading…
Cancel
Save