From b7f832cfb140cad4abfa74ac6d6b5acee7ad32db Mon Sep 17 00:00:00 2001 From: Brandon Allard Date: Tue, 30 Apr 2024 17:00:33 -0400 Subject: [PATCH] unit: increase iterations for cpu profiler tests --- tests/unit/cpu_profiler_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/cpu_profiler_test.cc b/tests/unit/cpu_profiler_test.cc index 727db9bcec0..ee32ce190df 100644 --- a/tests/unit/cpu_profiler_test.cc +++ b/tests/unit/cpu_profiler_test.cc @@ -218,7 +218,7 @@ SEASTAR_THREAD_TEST_CASE(exception_handler_case) { std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> d(1, 100); - for (int a = 0; a < 100; a++) { + for (int a = 0; a < 10000; a++) { random_exception_catcher(100, d(gen)); } @@ -249,7 +249,7 @@ SEASTAR_THREAD_TEST_CASE(config_thrashing) { std::mt19937 gen(rd()); std::uniform_int_distribution<> d(1, 100); - for (int a = 0; a < 100; a++) { + for (int a = 0; a < 10000; a++) { int r = d(gen); temporary_profiler_settings cp_0{r % 2 == 0, std::chrono::microseconds(r)}; }