Skip to content
Snippets Groups Projects
Commit d1c28669 authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

remove fatal null check in c# protobuf QPS server

parent e60d5ff8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment