aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-04-13 07:14:47 -0700
committerGravatar Mark D. Roth <roth@google.com>2017-04-13 07:14:47 -0700
commit17a93b33e07636c8fb012ee1375498a10b956e31 (patch)
tree21d3f1b4c4954a7227d6336f4e74b317b85fa0f1 /test/core/end2end/tests
parent2a86d3f39902f9256260b4452f22e75cc79bc8ff (diff)
Fix test.
Diffstat (limited to 'test/core/end2end/tests')
-rw-r--r--test/core/end2end/tests/max_message_length.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/max_message_length.c b/test/core/end2end/tests/max_message_length.c
index ab58d9f9a6..a8b6f1f79a 100644
--- a/test/core/end2end/tests/max_message_length.c
+++ b/test/core/end2end/tests/max_message_length.c
@@ -272,7 +272,7 @@ static void test_max_message_length_on_request(grpc_end2end_test_config config,
GPR_ASSERT(was_cancelled == 1);
done:
- GPR_ASSERT(status == GRPC_STATUS_INVALID_ARGUMENT);
+ GPR_ASSERT(status == GRPC_STATUS_RESOURCE_EXHAUSTED);
GPR_ASSERT(
grpc_slice_str_cmp(
details, send_limit
@@ -466,7 +466,7 @@ static void test_max_message_length_on_response(grpc_end2end_test_config config,
GPR_ASSERT(0 ==
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(
grpc_slice_str_cmp(
details, send_limit