mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Merge branch 'master' into add_one_more_group
This commit is contained in:
commit
c399eaf945
@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
||||||
# shellcheck source=../shell_config.sh
|
|
||||||
. "$CURDIR"/../shell_config.sh
|
|
||||||
|
|
||||||
# This test is pretty depend on query execution time
|
|
||||||
# In release, it works about 14 seconds with no timeout.
|
|
||||||
|
|
||||||
function run
|
|
||||||
{
|
|
||||||
${CLICKHOUSE_CLIENT} -q "select number from remote('127.0.0.2', numbers(10)) where number global in (select number + 9 from numbers(400000000)) settings max_execution_time=3" 2>&1 | cat > /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
export -f run
|
|
||||||
timeout 10 bash -c run
|
|
Loading…
Reference in New Issue
Block a user