Skip to content

Commit 2470133

Browse files
authored
[CBO] TEST ASAN FIX (#10610)
1 parent eb88635 commit 2470133

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ydb/library/yql/dq/opt/dq_opt_hypergraph_ut.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,11 @@ Y_UNIT_TEST_SUITE(HypergraphBuild) {
484484
}
485485

486486
Y_UNIT_TEST(JoinTopologiesBenchmark) {
487-
#ifndef NDEBUG
487+
#if defined(_asan_enabled_)
488+
enum { CliqueSize = 0, ChainSize = 0, StarSize = 0 };
489+
std::cerr << "test is not running for ASAN!" << std::endl;
490+
return;
491+
#elif !defined(NDEBUG)
488492
enum { CliqueSize = 11, ChainSize = 71, StarSize = 15 };
489493
#else
490494
enum { CliqueSize = 15, ChainSize = 165, StarSize = 20 };

0 commit comments

Comments
 (0)