Merge pull request #3354 from grpc/jtattermusch-patch-2

Don't do .Wait() in async context.
pull/3362/head
Michael Lumish 10 years ago
commit 3115638631
  1. 2
      src/csharp/Grpc.IntegrationTesting/InteropClient.cs

@ -131,7 +131,7 @@ namespace Grpc.IntegrationTesting
var channel = new Channel(options.ServerHost, options.ServerPort, credentials, channelOptions);
TestService.TestServiceClient client = new TestService.TestServiceClient(channel);
await RunTestCaseAsync(client, options);
channel.ShutdownAsync().Wait();
await channel.ShutdownAsync();
}
private async Task RunTestCaseAsync(TestService.TestServiceClient client, ClientOptions options)

Loading…
Cancel
Save