From 32d95b9744567c9ead050d154181fadbcd0c8ea7 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 4 May 2015 17:56:32 -0700 Subject: remove duplicate initialize --- src/csharp/Grpc.Core.Tests/ClientServerTest.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/csharp') diff --git a/src/csharp/Grpc.Core.Tests/ClientServerTest.cs b/src/csharp/Grpc.Core.Tests/ClientServerTest.cs index 26a1a683ba..caa6220f2c 100644 --- a/src/csharp/Grpc.Core.Tests/ClientServerTest.cs +++ b/src/csharp/Grpc.Core.Tests/ClientServerTest.cs @@ -82,8 +82,6 @@ namespace Grpc.Core.Tests [SetUp] public void Init() { - GrpcEnvironment.Initialize(); - server = new Server(); server.AddServiceDefinition(ServiceDefinition); int port = server.AddListeningPort(Host + ":0"); @@ -137,7 +135,7 @@ namespace Grpc.Core.Tests [Test] public void AsyncUnaryCall_ServerHandlerThrows() { - Task.Run(async () => + Task.Run(async () => { var call = new Call(ServiceName, EchoMethod, channel, Metadata.Empty); try @@ -147,7 +145,7 @@ namespace Grpc.Core.Tests } catch (RpcException e) { - Assert.AreEqual(StatusCode.Unknown, e.Status.StatusCode); + Assert.AreEqual(StatusCode.Unknown, e.Status.StatusCode); } }).Wait(); } -- cgit v1.2.3