mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Changed timeouts in test
This commit is contained in:
parent
138f3253ba
commit
7ba2d7e15f
@ -5,12 +5,12 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
|
||||
function test()
|
||||
{
|
||||
for i in {1..50}; do
|
||||
$CLICKHOUSE_CLIENT --query "SELECT groupArrayIfState(('Hello, world' AS s) || s || s || s || s || s || s || s || s || s, NOT throwIf(number > 50000000, 'Ok')) FROM system.numbers_mt GROUP BY number % 10";
|
||||
for i in {1..250}; do
|
||||
$CLICKHOUSE_CLIENT --query "SELECT groupArrayIfState(('Hello, world' AS s) || s || s || s || s || s || s || s || s || s, NOT throwIf(number > 10000000, 'Ok')) FROM system.numbers_mt GROUP BY number % 10";
|
||||
done
|
||||
}
|
||||
|
||||
export -f test;
|
||||
|
||||
# If the memory leak exists, it will lead to OOM fairly quickly.
|
||||
timeout 10 bash -c test 2>&1 | grep -o -F 'Ok' | uniq
|
||||
timeout 30 bash -c test 2>&1 | grep -o -F 'Ok' | uniq
|
||||
|
Loading…
Reference in New Issue
Block a user