Fix bash syntax in 01731_async_task_queue_wait

This commit is contained in:
Azat Khuzhin 2021-02-20 00:04:28 +03:00
parent 657bb33e73
commit d0fe8900f9

View File

@ -7,4 +7,4 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# regression for 'Empty task was returned from async task queue' during query # regression for 'Empty task was returned from async task queue' during query
# cancellation with async_socket_for_remote=1 (that ignores # cancellation with async_socket_for_remote=1 (that ignores
# max_distributed_connections) # 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 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