Home
last modified time | relevance | path

Searched refs:ShutdownAsync (Results 1 – 25 of 56) sorted by relevance

123

/third_party/grpc/src/csharp/Grpc.Core.Tests/
DChannelTest.cs52 channel.ShutdownAsync().Wait(); in State_IdleAfterCreation()
60 channel.ShutdownAsync().Wait(); in WaitForStateChangedAsync_InvalidArgument()
68 channel.ShutdownAsync().Wait(); in ResolvedTarget()
75 channel.ShutdownAsync().Wait(); in Shutdown_AllowedOnlyOnce()
76 … Assert.ThrowsAsync(typeof(InvalidOperationException), async () => await channel.ShutdownAsync()); in Shutdown_AllowedOnlyOnce()
84 var shutdownTask = channel.ShutdownAsync(); in ShutdownTokenCancelledAfterShutdown()
93 await channel.ShutdownAsync(); in StateIsShutdownAfterShutdown()
102 var shutdownTask = channel.ShutdownAsync(); in ShutdownFinishesWaitForStateChangedAsync()
111 await channel.ShutdownAsync(); in OperationsThrowAfterShutdown()
122 await channelBase.ShutdownAsync(); in ChannelBaseShutdownAsyncInvokesShutdownAsync()
DServerTest.cs39 server.ShutdownAsync().Wait(); in StartAndShutdownServer()
66 server.ShutdownAsync().Wait(); in PickUnusedPort()
81 server.ShutdownAsync().Wait(); in StartThrowsWithUnboundPorts()
95 server.ShutdownAsync().Wait(); in CannotModifyAfterStarted()
102 server.ShutdownAsync().Wait(); in UnstartedServerCanBeShutdown()
DHalfcloseTest.cs53 channel.ShutdownAsync().Wait(); in Cleanup()
54 server.ShutdownAsync().Wait(); in Cleanup()
DPerformanceTest.cs52 channel.ShutdownAsync().Wait(); in Cleanup()
53 server.ShutdownAsync().Wait(); in Cleanup()
DServerBindFailedTest.cs80 await channel.ShutdownAsync(); in Issue18100()
81 await server.ShutdownAsync(); in Issue18100()
DThreadingModelTest.cs46 channel.ShutdownAsync().Wait(); in Cleanup()
47 server.ShutdownAsync().Wait(); in Cleanup()
DUserAgentStringTest.cs43 channel.ShutdownAsync().Wait(); in Cleanup()
44 server.ShutdownAsync().Wait(); in Cleanup()
DChannelConnectivityTest.cs53 channel.ShutdownAsync().Wait(); in Cleanup()
54 server.ShutdownAsync().Wait(); in Cleanup()
DContextualMarshallerTest.cs83 channel.ShutdownAsync().Wait(); in Cleanup()
84 server.ShutdownAsync().Wait(); in Cleanup()
DTimeoutsTest.cs53 channel.ShutdownAsync().Wait(); in Cleanup()
54 server.ShutdownAsync().Wait(); in Cleanup()
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DExternalDnsClientServerTest.cs64 channel.ShutdownAsync().Wait(); in Cleanup()
65 server.ShutdownAsync().Wait(); in Cleanup()
DXdsInteropClientTest.cs82 lbStatsChannel.ShutdownAsync().Wait(); in Cleanup()
83 lbStatsServer.ShutdownAsync().Wait(); in Cleanup()
84 backendServer.ShutdownAsync().Wait(); in Cleanup()
DUnobservedTaskExceptionTest.cs61 channel.ShutdownAsync().Wait(); in Cleanup()
62 server.ShutdownAsync().Wait(); in Cleanup()
DGeneratedServiceBaseTest.cs56 channel.ShutdownAsync().Wait(); in Cleanup()
57 server.ShutdownAsync().Wait(); in Cleanup()
DInteropClientServerTest.cs64 channel.ShutdownAsync().Wait(); in Cleanup()
65 server.ShutdownAsync().Wait(); in Cleanup()
DExternalDnsWithTracingClientServerTest.cs83 channel.ShutdownAsync().Wait(); in Cleanup()
84 server.ShutdownAsync().Wait(); in Cleanup()
DCustomErrorDetailsTest.cs63 channel.ShutdownAsync().Wait(); in Cleanup()
64 server.ShutdownAsync().Wait(); in Cleanup()
/third_party/grpc/test/distrib/csharp/DistribTest/
DProgram.cs52 channel.ShutdownAsync().Wait(); in Main()
53 server.ShutdownAsync().Wait(); in Main()
/third_party/grpc/examples/csharp/HelloworldXamarin/iOS/
DViewController.cs73 channel.ShutdownAsync().Wait(); in SayHello()
74 server.ShutdownAsync().Wait(); in SayHello()
/third_party/grpc/examples/csharp/HelloworldXamarin/Droid/
DMainActivity.cs68 channel.ShutdownAsync().Wait(); in SayHello()
69 server.ShutdownAsync().Wait(); in SayHello()
/third_party/grpc/examples/csharp/HelloworldUnity/Assets/Scripts/
DHelloWorldTest.cs66 channel.ShutdownAsync().Wait(); in Greet()
68 server.ShutdownAsync().Wait(); in Greet()
/third_party/grpc/src/csharp/Grpc.HealthCheck.Tests/
DHealthClientServerTest.cs60 channel.ShutdownAsync().Wait(); in Cleanup()
62 server.ShutdownAsync().Wait(); in Cleanup()
/third_party/grpc/src/csharp/Grpc.Microbenchmarks/
DPingBenchmark.cs85 await channel.ShutdownAsync(); in Cleanup()
86 await server.ShutdownAsync(); in Cleanup()
/third_party/grpc/src/csharp/Grpc.Core/
DGrpcEnvironment.cs103 await instanceToShutdown.ShutdownAsync().ConfigureAwait(false); in ReleaseAsync()
161 return Task.WhenAll(snapshot.Select((channel) => channel.ShutdownAsync())); in ShutdownChannelsAsync()
388 private async Task ShutdownAsync() in ShutdownAsync() method in Grpc.Core.GrpcEnvironment
/third_party/grpc/src/csharp/Grpc.Reflection.Tests/
DReflectionClientServerTest.cs61 channel.ShutdownAsync().Wait(); in Cleanup()
62 server.ShutdownAsync().Wait(); in Cleanup()

123