Skip to content
Snippets Groups Projects
Commit 04eb89ca authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

no need to call GrpcEnvironment.Initialize() explicitly

parent aa91ad2c
Branches
Tags
No related merge requests found
......@@ -55,8 +55,6 @@ namespace Grpc.IntegrationTesting
[TestFixtureSetUp]
public void Init()
{
GrpcEnvironment.Initialize();
server = new Server();
server.AddServiceDefinition(TestService.BindService(new TestServiceImpl()));
int port = server.AddListeningPort(host, Server.PickUnusedPort, TestCredentials.CreateTestServerCredentials());
......@@ -74,7 +72,6 @@ namespace Grpc.IntegrationTesting
public void Cleanup()
{
channel.Dispose();
server.ShutdownAsync().Wait();
GrpcEnvironment.Shutdown();
}
......
......@@ -88,8 +88,6 @@ namespace Grpc.IntegrationTesting
private void Run()
{
GrpcEnvironment.Initialize();
var server = new Server();
server.AddServiceDefinition(TestService.BindService(new TestServiceImpl()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment