diff --git a/tests/queries/0_stateless/02420_stracktrace_debug_symbols.sh b/tests/queries/0_stateless/02420_stracktrace_debug_symbols.sh index 5dd5e8c4030..f27b11bb0c5 100755 --- a/tests/queries/0_stateless/02420_stracktrace_debug_symbols.sh +++ b/tests/queries/0_stateless/02420_stracktrace_debug_symbols.sh @@ -10,5 +10,7 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # # Also note, that to rely on this test one should assume that CI packages uses # ThinLTO builds. +# +# Due to inlining, it can show vector instead of Exception.cpp -$CLICKHOUSE_LOCAL --stacktrace -q 'select throwIf(1)' |& grep -c 'Common/Exception.cpp:[0-9]*: DB::Exception::Exception' || $CLICKHOUSE_LOCAL --stacktrace -q 'select throwIf(1)' +$CLICKHOUSE_LOCAL --stacktrace -q 'select throwIf(1)' |& grep -c -P '(Common/Exception.cpp|libcxx/include/vector):[0-9]*: DB::Exception::Exception' || $CLICKHOUSE_LOCAL --stacktrace -q 'select throwIf(1)'