aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-08-26 11:19:10 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-08-26 11:19:10 -0700
commit5b3516e2c5c3c6878d28cd19db73d5572851e6b9 (patch)
treea34bde8ab374f35f5a6a6a4cdbdf741076dbd3fa /src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
parent9a8d0d3eaf8ccd1c3a6e27f1f8bbeeee85e64345 (diff)
parent1f1919c8cfc61cd9af288cd1585b38b9c3511e1f (diff)
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs')
-rw-r--r--src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs b/src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
index 6fa721bc1c..f3158aeb45 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);
+ }
}
}