|
|
@ -136,7 +136,8 @@ static void test_max_message_length_on_request(grpc_end2end_test_config config, |
|
|
|
if (use_service_config) { |
|
|
|
if (use_service_config) { |
|
|
|
// We don't currently support service configs on the server side.
|
|
|
|
// We don't currently support service configs on the server side.
|
|
|
|
GPR_ASSERT(send_limit); |
|
|
|
GPR_ASSERT(send_limit); |
|
|
|
query_args = "method_name=/service/method" |
|
|
|
query_args = |
|
|
|
|
|
|
|
"method_name=/service/method" |
|
|
|
"&max_request_message_bytes=5"; |
|
|
|
"&max_request_message_bytes=5"; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// Set limit via channel args.
|
|
|
|
// Set limit via channel args.
|
|
|
@ -297,7 +298,8 @@ static void test_max_message_length_on_response(grpc_end2end_test_config config, |
|
|
|
if (use_service_config) { |
|
|
|
if (use_service_config) { |
|
|
|
// We don't currently support service configs on the server side.
|
|
|
|
// We don't currently support service configs on the server side.
|
|
|
|
GPR_ASSERT(!send_limit); |
|
|
|
GPR_ASSERT(!send_limit); |
|
|
|
query_args = "method_name=/service/method" |
|
|
|
query_args = |
|
|
|
|
|
|
|
"method_name=/service/method" |
|
|
|
"&max_response_message_bytes=5"; |
|
|
|
"&max_response_message_bytes=5"; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// Set limit via channel args.
|
|
|
|
// Set limit via channel args.
|
|
|
|