From ba4b029e66b7afb7a0629bbdad2160caa93e428d Mon Sep 17 00:00:00 2001 From: Daniil Timizhev Date: Tue, 15 Apr 2025 12:51:26 +0300 Subject: [PATCH 1/2] add unit --- ydb/core/kqp/ut/ya.make | 1 + 1 file changed, 1 insertion(+) diff --git a/ydb/core/kqp/ut/ya.make b/ydb/core/kqp/ut/ya.make index 38757b3dca1f..94a7ea3d446a 100644 --- a/ydb/core/kqp/ut/ya.make +++ b/ydb/core/kqp/ut/ya.make @@ -1,5 +1,6 @@ RECURSE_FOR_TESTS( arrow + batch_operations cost data data_integrity From 3d73c236a1ae1eae0f8ce65447e0dffd21067a96 Mon Sep 17 00:00:00 2001 From: Daniil Timizhev Date: Tue, 15 Apr 2025 13:58:51 +0300 Subject: [PATCH 2/2] different sizes with and without asan --- ydb/core/kqp/ut/batch_operations/kqp_batch_update_ut.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ydb/core/kqp/ut/batch_operations/kqp_batch_update_ut.cpp b/ydb/core/kqp/ut/batch_operations/kqp_batch_update_ut.cpp index ca0b42ce9425..520841792a59 100644 --- a/ydb/core/kqp/ut/batch_operations/kqp_batch_update_ut.cpp +++ b/ydb/core/kqp/ut/batch_operations/kqp_batch_update_ut.cpp @@ -301,19 +301,22 @@ Y_UNIT_TEST_SUITE(KqpBatchUpdate) { } Y_UNIT_TEST(Large_1) { - for (size_t size = 1; size <= 1000; size *= 10) { + ui32 sizeLimit = NSan::PlainOrUnderSanitizer(1000, 100); + for (size_t size = 1; size <= sizeLimit; size *= 10) { TestLarge(size, 100); } } Y_UNIT_TEST(Large_2) { - for (size_t size = 100; size <= 10000; size *= 10) { + ui32 sizeLimit = NSan::PlainOrUnderSanitizer(10000, 1000); + for (size_t size = 100; size <= sizeLimit; size *= 10) { TestLarge(size, 10000); } } Y_UNIT_TEST(Large_3) { - for (size_t size = 1000; size <= 100000; size *= 10) { + ui32 sizeLimit = NSan::PlainOrUnderSanitizer(100000, 10000); + for (size_t size = 1000; size <= sizeLimit; size *= 10) { TestLarge(size, 100000); } }