diff options
author | 2015-08-26 08:50:19 -0700 | |
---|---|---|
committer | 2015-08-26 08:50:19 -0700 | |
commit | 0608a00b505fe43a52614ec8703bb589332af064 (patch) | |
tree | 72937fe6fb2423e52134af3ce2a4beea73da69d3 /src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs | |
parent | d8fc8606740416b1cbe4d2f3754705b108fd2c5c (diff) | |
parent | afbbaf9c3e21b6a4fe41242df9d052e077dc25c0 (diff) |
Merge remote-tracking branch 'upstream/master' into csharp_upgrade_to_proto3
Conflicts:
src/csharp/Grpc.IntegrationTesting/InteropClient.cs
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs index a827aedbdd..7bc17a207f 100644 --- a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs +++ b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs @@ -75,9 +75,8 @@ namespace Grpc.IntegrationTesting [TestFixtureTearDown] public void Cleanup() { - channel.Dispose(); + channel.ShutdownAsync().Wait(); server.ShutdownAsync().Wait(); - GrpcEnvironment.Shutdown(); } [Test] @@ -127,5 +126,11 @@ namespace Grpc.IntegrationTesting { await InteropClient.RunCancelAfterFirstResponseAsync(client); } + + [Test] + public async Task TimeoutOnSleepingServerAsync() + { + await InteropClient.RunTimeoutOnSleepingServerAsync(client); + } } } |