aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-10-15 15:54:10 -0400
committerGravatar ncteisen <ncteisen@gmail.com>2018-10-15 15:54:10 -0400
commit07ac7022095c9bf56daf5af9585ca08a49555e7a (patch)
treed9329553eb412595a469b7f8a66b36b8be80fc02 /test/core/end2end/tests
parent6963caf05ff235b367b8e89e633eb5662d16eac0 (diff)
reviewer feedback
Diffstat (limited to 'test/core/end2end/tests')
-rw-r--r--test/core/end2end/tests/simple_request.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/end2end/tests/simple_request.cc b/test/core/end2end/tests/simple_request.cc
index ad82a4fb90..9c018962f8 100644
--- a/test/core/end2end/tests/simple_request.cc
+++ b/test/core/end2end/tests/simple_request.cc
@@ -108,7 +108,9 @@ static void simple_request_body(grpc_end2end_test_config config,
grpc_stats_data* after =
static_cast<grpc_stats_data*>(gpr_malloc(sizeof(grpc_stats_data)));
+#if defined(GRPC_COLLECT_STATS) || !defined(NDEBUG)
grpc_stats_collect(before);
+#endif /* defined(GRPC_COLLECT_STATS) || !defined(NDEBUG) */
gpr_timespec deadline = five_seconds_from_now();
c = grpc_channel_create_call(f.client, nullptr, GRPC_PROPAGATE_DEFAULTS, f.cq,