aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-15 10:04:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-15 10:04:12 -0700
commitc7ab6dba009a07a68d0c5f81a88613439be45406 (patch)
treea9e254cb0ce85c2e5ae630718c4346837255d094 /test
parent52f231212f0385bae40dd6e45ed1c4bf823bf3c2 (diff)
Add a byte to avert a crash (which should be investigated sometime)
Diffstat (limited to 'test')
-rw-r--r--test/core/iomgr/endpoint_tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/iomgr/endpoint_tests.c b/test/core/iomgr/endpoint_tests.c
index bf3d19c6fc..35c647a454 100644
--- a/test/core/iomgr/endpoint_tests.c
+++ b/test/core/iomgr/endpoint_tests.c
@@ -277,6 +277,7 @@ static void multiple_shutdown_test(grpc_endpoint_test_config config) {
grpc_closure_create(inc_on_failure, &fail_count));
grpc_exec_ctx_flush(&exec_ctx);
GPR_ASSERT(fail_count == 2);
+ gpr_slice_buffer_add(&slice_buffer, gpr_slice_from_copied_string("a"));
grpc_endpoint_write(&exec_ctx, f.client_ep, &slice_buffer,
grpc_closure_create(inc_on_failure, &fail_count));
grpc_exec_ctx_flush(&exec_ctx);