aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/stream_compression_ping_pong_streaming.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/stream_compression_ping_pong_streaming.c')
-rw-r--r--test/core/end2end/tests/stream_compression_ping_pong_streaming.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/core/end2end/tests/stream_compression_ping_pong_streaming.c b/test/core/end2end/tests/stream_compression_ping_pong_streaming.c
index 4c1a34cc64..4dd35680d7 100644
--- a/test/core/end2end/tests/stream_compression_ping_pong_streaming.c
+++ b/test/core/end2end/tests/stream_compression_ping_pong_streaming.c
@@ -90,12 +90,10 @@ static void end_test(grpc_end2end_test_fixture *f) {
/* Client pings and server pongs. Repeat messages rounds before finishing. */
static void test_pingpong_streaming(grpc_end2end_test_config config,
int messages) {
- grpc_channel_args *client_args =
- grpc_channel_args_set_stream_compression_algorithm(
- NULL, GRPC_STREAM_COMPRESS_GZIP);
- grpc_channel_args *server_args =
- grpc_channel_args_set_stream_compression_algorithm(
- NULL, GRPC_STREAM_COMPRESS_GZIP);
+ grpc_channel_args *client_args = grpc_channel_args_set_compression_algorithm(
+ NULL, GRPC_COMPRESS_STREAM_GZIP);
+ grpc_channel_args *server_args = grpc_channel_args_set_compression_algorithm(
+ NULL, GRPC_COMPRESS_STREAM_GZIP);
grpc_end2end_test_fixture f =
begin_test(config, "test_pingpong_streaming", client_args, server_args);
grpc_call *c;