Skip to content
Snippets Groups Projects
Commit 17a93b33 authored by Mark D. Roth's avatar Mark D. Roth
Browse files

Fix test.

parent 2a86d3f3
No related branches found
No related tags found
No related merge requests found
...@@ -272,7 +272,7 @@ static void test_max_message_length_on_request(grpc_end2end_test_config config, ...@@ -272,7 +272,7 @@ static void test_max_message_length_on_request(grpc_end2end_test_config config,
GPR_ASSERT(was_cancelled == 1); GPR_ASSERT(was_cancelled == 1);
done: done:
GPR_ASSERT(status == GRPC_STATUS_INVALID_ARGUMENT); GPR_ASSERT(status == GRPC_STATUS_RESOURCE_EXHAUSTED);
GPR_ASSERT( GPR_ASSERT(
grpc_slice_str_cmp( grpc_slice_str_cmp(
details, send_limit details, send_limit
...@@ -466,7 +466,7 @@ static void test_max_message_length_on_response(grpc_end2end_test_config config, ...@@ -466,7 +466,7 @@ static void test_max_message_length_on_response(grpc_end2end_test_config config,
GPR_ASSERT(0 == GPR_ASSERT(0 ==
grpc_slice_str_cmp(call_details.host, "foo.test.google.fr:1234")); grpc_slice_str_cmp(call_details.host, "foo.test.google.fr:1234"));
GPR_ASSERT(status == GRPC_STATUS_INVALID_ARGUMENT); GPR_ASSERT(status == GRPC_STATUS_RESOURCE_EXHAUSTED);
GPR_ASSERT( GPR_ASSERT(
grpc_slice_str_cmp( grpc_slice_str_cmp(
details, send_limit details, send_limit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment