aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-08-31 13:05:46 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-08-31 13:05:46 -0700
commited4605b71c8ed5ea1b4d4ff27dbea230a458fb44 (patch)
treefe413b49b9e6adf253c45ebae10de2519eaaf960 /test
parent089dbc078fe5edbbd841b22dd91eed1e68161104 (diff)
Change error messages to include actual values and limits.
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/tests/max_message_length.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/core/end2end/tests/max_message_length.c b/test/core/end2end/tests/max_message_length.c
index 33683aaecd..7368bca308 100644
--- a/test/core/end2end/tests/max_message_length.c
+++ b/test/core/end2end/tests/max_message_length.c
@@ -217,6 +217,10 @@ static void test_max_message_length(grpc_end2end_test_config config,
done:
GPR_ASSERT(status == GRPC_STATUS_INVALID_ARGUMENT);
+ GPR_ASSERT(strcmp(details,
+ send_limit
+ ? "Sent message larger than max (11 vs. 5)"
+ : "Received message larger than max (11 vs. 5)") == 0);
gpr_free(details);
grpc_metadata_array_destroy(&initial_metadata_recv);