|
|
@ -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) |
|
|
|