diff options
author | 2017-10-06 16:55:52 -0700 | |
---|---|---|
committer | 2017-10-06 17:25:40 -0700 | |
commit | 63602748415fb836afd7a9685fbe5e85bf5ebfed (patch) | |
tree | f621272bdfb56a20782c9ed3a1a06f286c121941 /test/core/channel | |
parent | 906f69c1dfb09766708ca82217851cc20ebedd83 (diff) |
Make the names of compression algorithms backwards compatible at surface API
Diffstat (limited to 'test/core/channel')
-rw-r--r-- | test/core/channel/channel_args_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/channel/channel_args_test.c b/test/core/channel/channel_args_test.c index f356c5b0a5..ab0e045582 100644 --- a/test/core/channel/channel_args_test.c +++ b/test/core/channel/channel_args_test.c @@ -90,7 +90,7 @@ static void test_compression_algorithm_states(void) { GPR_ASSERT(GPR_BITGET(states_bitset, i)); } - /* disable message/gzip and message/deflate and stream/gzip */ + /* disable gzip, deflate and stream-gzip */ ch_args_wo_gzip = grpc_channel_args_compression_algorithm_set_state( &exec_ctx, &ch_args, GRPC_COMPRESS_MESSAGE_GZIP, 0); GPR_ASSERT(ch_args == ch_args_wo_gzip); @@ -113,7 +113,7 @@ static void test_compression_algorithm_states(void) { } } - /* re-enabled message/gzip and stream/gzip only */ + /* re-enabled gzip and stream-gzip only */ ch_args_wo_gzip = grpc_channel_args_compression_algorithm_set_state( &exec_ctx, &ch_args_wo_gzip_deflate_gzip, GRPC_COMPRESS_MESSAGE_GZIP, 1); ch_args_wo_gzip = grpc_channel_args_compression_algorithm_set_state( |