diff options
author | David Garcia Quintas <dgq@google.com> | 2016-06-03 14:18:01 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-06-03 14:18:01 -0700 |
commit | 55c08f81cff3d8231d4ae18b2a8f9e4abccc2d76 (patch) | |
tree | 0ad9cdab1db83fe008829bdcfedf2525ab94d860 /src/csharp/Grpc.IntegrationTesting/ServerRunners.cs | |
parent | 3e4f49f88d611efb9573972a18ca727f50292d14 (diff) | |
parent | 84f71932eaf8b601355189896fc5b91449ac82d2 (diff) |
Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/ServerRunners.cs')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/ServerRunners.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs b/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs index d7859443e0..8689d188ae 100644 --- a/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs +++ b/src/csharp/Grpc.IntegrationTesting/ServerRunners.cs @@ -77,13 +77,13 @@ namespace Grpc.IntegrationTesting } ServerServiceDefinition service = null; - if (config.ServerType == ServerType.ASYNC_SERVER) + if (config.ServerType == ServerType.AsyncServer) { GrpcPreconditions.CheckArgument(config.PayloadConfig == null, "ServerConfig.PayloadConfig shouldn't be set for BenchmarkService based server."); service = BenchmarkService.BindService(new BenchmarkServiceImpl()); } - else if (config.ServerType == ServerType.ASYNC_GENERIC_SERVER) + else if (config.ServerType == ServerType.AsyncGenericServer) { var genericService = new GenericServiceImpl(config.PayloadConfig.BytebufParams.RespSize); service = GenericService.BindHandler(genericService.StreamingCall); |