From 3b12efd66a243f48f4437d0e3d2a4144b595cfd2 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Thu, 6 Oct 2022 10:47:29 -0700 Subject: [PATCH] [hpack_size] Un-parallelize tests (#31259) * [hpack_size] Un-parallelize tests * iwyu --- test/core/end2end/tests/hpack_size.cc | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/test/core/end2end/tests/hpack_size.cc b/test/core/end2end/tests/hpack_size.cc index aa819ef9aff..985aea1ff32 100644 --- a/test/core/end2end/tests/hpack_size.cc +++ b/test/core/end2end/tests/hpack_size.cc @@ -20,15 +20,10 @@ #include #include -#include -#include #include -#include #include "absl/strings/str_format.h" -#include "absl/synchronization/notification.h" -#include #include #include #include @@ -36,7 +31,6 @@ #include #include -#include "src/core/lib/event_engine/default_event_engine.h" #include "src/core/lib/gpr/useful.h" #include "src/core/lib/gprpp/time.h" #include "test/core/end2end/cq_verifier.h" @@ -393,21 +387,11 @@ void hpack_size(grpc_end2end_test_config config) { 1000, 32768, 4 * 1024 * 1024}; size_t i, j; - auto event_engine = grpc_event_engine::experimental::GetDefaultEventEngine(); - std::vector> dones; for (i = 0; i < GPR_ARRAY_SIZE(interesting_sizes); i++) { for (j = 0; j < GPR_ARRAY_SIZE(interesting_sizes); j++) { - auto done = std::make_shared(); - dones.push_back(done); - event_engine->Run([done, config, i, j] { - test_size(config, interesting_sizes[i], interesting_sizes[j]); - done->Notify(); - }); + test_size(config, interesting_sizes[i], interesting_sizes[j]); } } - for (auto& done : dones) { - done->WaitForNotification(); - } } void hpack_size_pre_init(void) {}