aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-04-13 15:39:45 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-04-13 15:39:45 -0700
commit33f4c6d04a2ffac9da7ccd20beba950d8692b942 (patch)
tree7c6af232016512833ce0d556c64dae9a666f78cd /test
parent2eeedad744ca186903f3ef62459aed693bb06916 (diff)
parente98cf24f487d1d4970336ecd35bb99707b684b7e (diff)
Merge branch 'master' into cq_create_api_changes
Diffstat (limited to 'test')
-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 cc371f4e2f..224c1cd833 100644
--- a/test/core/end2end/tests/max_message_length.c
+++ b/test/core/end2end/tests/max_message_length.c
@@ -274,7 +274,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
@@ -468,7 +468,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