mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
7b5ed949a1
v2: wait for queries in 01085_max_distributed_connections_http CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests__debug__actions__[2/3].html v3: wait left queries in 01675_data_type_coroutine* CI: https://s3.amazonaws.com/clickhouse-test-reports/36400/828d23c933681ecfc19a09a78947918c545e5558/stateless_tests__debug__actions__[2/3].html Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
13 lines
647 B
Bash
Executable File
13 lines
647 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
# regression for 'Empty task was returned from async task queue' during query
|
|
# cancellation with async_socket_for_remote=1 (that ignores
|
|
# max_distributed_connections)
|
|
timeout --signal=SIGINT 1 ${CLICKHOUSE_CLIENT} --max_distributed_connections=1 --max_block_size=2 --interactive_delay=900000 -q "select number + sleep(0.3) as x from remote('127.{2,3}', system.numbers) settings max_block_size = 2" 2>&1 | grep "Empty task was returned from async task queue" || true
|
|
|
|
clickhouse_test_wait_queries 60
|