From 7f2ac070adf259a86b1b066290ae3fd1dab5e42e Mon Sep 17 00:00:00 2001 From: Andrei Strelkovskii Date: Wed, 14 Aug 2024 19:47:34 +0300 Subject: [PATCH] tablet stresstest should have less iterations under ubsan - otherwise we hit the timeout (#1793) --- cloud/filestore/libs/storage/tablet/tablet_ut_data_stress.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cloud/filestore/libs/storage/tablet/tablet_ut_data_stress.cpp b/cloud/filestore/libs/storage/tablet/tablet_ut_data_stress.cpp index a76227e9fc..5f47bce290 100644 --- a/cloud/filestore/libs/storage/tablet/tablet_ut_data_stress.cpp +++ b/cloud/filestore/libs/storage/tablet/tablet_ut_data_stress.cpp @@ -9,6 +9,7 @@ #include +#include #include #include @@ -354,7 +355,8 @@ Y_UNIT_TEST_SUITE(TIndexTabletTest_Data_Stress) const auto sanitizerType = GetEnv("SANITIZER_TYPE"); // temporary logging Cerr << "sanitizer: " << sanitizerType << Endl; - const ui32 d = sanitizerType == "thread" ? 20 : 1; + THashSet slowSanitizers({"thread", "undefined"}); + const ui32 d = slowSanitizers.contains(sanitizerType) ? 20 : 1; PERFORM_TEST(5'000 / d); PERFORM_TEST(1'000 / d);