remove fatal null check in c# protobuf QPS server

pull/9612/head
Alexander Polcyn 8 years ago
parent e60d5ff875
commit d1c2866968
  1. 3
      src/csharp/Grpc.IntegrationTesting/ServerRunners.cs

@ -79,8 +79,7 @@ namespace Grpc.IntegrationTesting
ServerServiceDefinition service = null; ServerServiceDefinition service = null;
if (config.ServerType == ServerType.AsyncServer) if (config.ServerType == ServerType.AsyncServer)
{ {
GrpcPreconditions.CheckArgument(config.PayloadConfig == null, Logger.Warning("ServerConfig.PayloadConfig is not supported for C# ServerType.AsyncServer. Ignoring the value");
"ServerConfig.PayloadConfig shouldn't be set for BenchmarkService based server.");
service = BenchmarkService.BindService(new BenchmarkServiceImpl()); service = BenchmarkService.BindService(new BenchmarkServiceImpl());
} }
else if (config.ServerType == ServerType.AsyncGenericServer) else if (config.ServerType == ServerType.AsyncGenericServer)

Loading…
Cancel
Save