aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-12-11 15:53:22 -0800
committerGravatar Muxi Yan <mxyan@google.com>2017-12-11 15:53:22 -0800
commitc870ce5476c86fc2fb090524b258ad9c9b987f00 (patch)
treed1c710b221220a788a3e8c15f1cbfdd9be1b157f /test/cpp/interop
parent99024d64367b62c98f03dda5c800c7418bcbf123 (diff)
More message compression level clean-up
Diffstat (limited to 'test/cpp/interop')
-rw-r--r--test/cpp/interop/interop_server.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/interop/interop_server.cc b/test/cpp/interop/interop_server.cc
index dc50ffc5b0..30bd8bfef8 100644
--- a/test/cpp/interop/interop_server.cc
+++ b/test/cpp/interop/interop_server.cc
@@ -163,7 +163,7 @@ class TestServiceImpl : public TestService::Service {
compression_requested ? "enabled" : "disabled", __func__);
if (compression_requested) {
// Any level would do, let's go for HIGH because we are overachievers.
- context->set_compression_level(GRPC_COMPRESS_LEVEL_MESSAGE_HIGH);
+ context->set_compression_level(GRPC_COMPRESS_LEVEL_HIGH);
} else {
context->set_compression_level(GRPC_COMPRESS_LEVEL_NONE);
}
@@ -204,7 +204,7 @@ class TestServiceImpl : public TestService::Service {
WriteOptions wopts;
if (request->response_parameters(i).has_compressed()) {
// Compress by default. Disabled on a per-message basis.
- context->set_compression_level(GRPC_COMPRESS_LEVEL_MESSAGE_HIGH);
+ context->set_compression_level(GRPC_COMPRESS_LEVEL_HIGH);
const bool compression_requested =
request->response_parameters(i).compressed().value();
gpr_log(GPR_DEBUG, "Request for compression (%s) present for %s",