From c7ab6dba009a07a68d0c5f81a88613439be45406 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Wed, 15 Jun 2016 10:04:12 -0700
Subject: [PATCH] Add a byte to avert a crash (which should be investigated
 sometime)

---
 test/core/iomgr/endpoint_tests.c | 1 +
 1 file changed, 1 insertion(+)

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);
-- 
GitLab