aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/end2end_test.cc
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-02-06 17:40:34 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-02-06 18:17:42 -0800
commit6f0b195d2003dbf8daf0dc31916aecac738ad45c (patch)
treede2d0a245a7e704ed552ac9157155d601aeaaea7 /test/cpp/end2end/end2end_test.cc
parent3629f1f3bc22532f4734a7388ecd4129c529534f (diff)
Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_*
Diffstat (limited to 'test/cpp/end2end/end2end_test.cc')
-rw-r--r--test/cpp/end2end/end2end_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc
index 578f26e9c2..967db4c57c 100644
--- a/test/cpp/end2end/end2end_test.cc
+++ b/test/cpp/end2end/end2end_test.cc
@@ -350,7 +350,7 @@ static void SendRpc(grpc::testing::EchoTestService::Stub* stub, int num_rpcs,
char bytes[8] = {'\0', '\1', '\2', '\3', '\4', '\5', '\6', (char)i};
context.AddMetadata("custom-bin", grpc::string(bytes, 8));
}
- context.set_compression_algorithm(GRPC_COMPRESS_MESSAGE_GZIP);
+ context.set_compression_algorithm(GRPC_COMPRESS_GZIP);
Status s = stub->Echo(&context, request, &response);
EXPECT_EQ(response.message(), request.message());
EXPECT_TRUE(s.ok());