aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-02-06 16:37:45 -0800
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-02-09 11:22:49 -0800
commitd1c2866968b63e82ebeb47607d460ea869ca0ecc (patch)
tree029f86d8c9da48e3de6107c403e4bbd44cc80b38 /src
parente60d5ff875dfd14d6f34f0ca1ead79c8a8038830 (diff)
remove fatal null check in c# protobuf QPS server
Diffstat (limited to 'src')
-rw-r--r--src/csharp/Grpc.IntegrationTesting/ServerRunners.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs b/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs
index 8689d188ae..4591b72cba 100644
--- a/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs
+++ b/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs
@@ -79,8 +79,7 @@ namespace Grpc.IntegrationTesting
ServerServiceDefinition service = null;
if (config.ServerType == ServerType.AsyncServer)
{
- GrpcPreconditions.CheckArgument(config.PayloadConfig == null,
- "ServerConfig.PayloadConfig shouldn't be set for BenchmarkService based server.");
+ Logger.Warning("ServerConfig.PayloadConfig is not supported for C# ServerType.AsyncServer. Ignoring the value");
service = BenchmarkService.BindService(new BenchmarkServiceImpl());
}
else if (config.ServerType == ServerType.AsyncGenericServer)