mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Merge pull request #45012 from ClickHouse/more-cases-in-fuzzer
Recognize more ok cases for Fuzzer
This commit is contained in:
commit
68ddfb0447
@ -267,9 +267,12 @@ quit
|
|||||||
echo "Lost connection to server. See the logs." > description.txt
|
echo "Lost connection to server. See the logs." > description.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -E --text 'Sanitizer: (out-of-memory|out of memory|failed to allocate)' description.txt
|
IS_SANITIZED=$(clickhouse-local --query "SELECT value LIKE '%-fsanitize=%' FROM system.build_options WHERE name = 'CXX_FLAGS'")
|
||||||
|
|
||||||
|
if [ "${IS_SANITIZED}" -eq "1" ] && grep -E --text 'Sanitizer: (out-of-memory|out of memory|failed to allocate|Child process was terminated by signal 9)' description.txt
|
||||||
then
|
then
|
||||||
# OOM of sanitizer is not a problem we can handle - treat it as success, but preserve the description.
|
# OOM of sanitizer is not a problem we can handle - treat it as success, but preserve the description.
|
||||||
|
# Why? Because sanitizers have the memory overhead, that is not controllable from inside clickhouse-server.
|
||||||
task_exit_code=0
|
task_exit_code=0
|
||||||
echo "success" > status.txt
|
echo "success" > status.txt
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user