From 3cd76d6ef229eed45bd148952118b39a3d3899ee Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@google.com>
Date: Wed, 5 Aug 2015 15:14:35 -0700
Subject: [PATCH] fix tests

---
 src/csharp/Grpc.Core.Tests/ClientServerTest.cs | 8 ++++----
 src/csharp/Grpc.Core.Tests/TimeoutsTest.cs     | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/csharp/Grpc.Core.Tests/ClientServerTest.cs b/src/csharp/Grpc.Core.Tests/ClientServerTest.cs
index 2aac4e3dec..64ea21800f 100644
--- a/src/csharp/Grpc.Core.Tests/ClientServerTest.cs
+++ b/src/csharp/Grpc.Core.Tests/ClientServerTest.cs
@@ -46,25 +46,25 @@ namespace Grpc.Core.Tests
     public class ClientServerTest
     {
         const string Host = "127.0.0.1";
-        const string ServiceName = "/tests.Test";
+        const string ServiceName = "tests.Test";
 
         static readonly Method<string, string> EchoMethod = new Method<string, string>(
             MethodType.Unary,
-            "tests.Test",
+            ServiceName,
             "Echo",
             Marshallers.StringMarshaller,
             Marshallers.StringMarshaller);
 
         static readonly Method<string, string> ConcatAndEchoMethod = new Method<string, string>(
             MethodType.ClientStreaming,
-            "tests.Test",
+            ServiceName,
             "ConcatAndEcho",
             Marshallers.StringMarshaller,
             Marshallers.StringMarshaller);
 
         static readonly Method<string, string> NonexistentMethod = new Method<string, string>(
             MethodType.Unary,
-            "tests.Test",
+            ServiceName,
             "NonexistentMethod",
             Marshallers.StringMarshaller,
             Marshallers.StringMarshaller);
diff --git a/src/csharp/Grpc.Core.Tests/TimeoutsTest.cs b/src/csharp/Grpc.Core.Tests/TimeoutsTest.cs
index 14819b85e1..fc395b0acd 100644
--- a/src/csharp/Grpc.Core.Tests/TimeoutsTest.cs
+++ b/src/csharp/Grpc.Core.Tests/TimeoutsTest.cs
@@ -49,11 +49,11 @@ namespace Grpc.Core.Tests
     public class TimeoutsTest
     {
         const string Host = "localhost";
-        const string ServiceName = "/tests.Test";
+        const string ServiceName = "tests.Test";
 
         static readonly Method<string, string> TestMethod = new Method<string, string>(
             MethodType.Unary,
-            "tests.Test",
+            ServiceName,
             "Test",
             Marshallers.StringMarshaller,
             Marshallers.StringMarshaller);
-- 
GitLab