From 0784efa813f069810424468425853e2ac6daba37 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 19 Apr 2021 22:42:39 +0300 Subject: [PATCH] Better test --- .../0_stateless/01602_max_distributed_connections.reference | 1 + tests/queries/0_stateless/01602_max_distributed_connections.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/queries/0_stateless/01602_max_distributed_connections.reference b/tests/queries/0_stateless/01602_max_distributed_connections.reference index e69de29bb2d..7326d960397 100644 --- a/tests/queries/0_stateless/01602_max_distributed_connections.reference +++ b/tests/queries/0_stateless/01602_max_distributed_connections.reference @@ -0,0 +1 @@ +Ok diff --git a/tests/queries/0_stateless/01602_max_distributed_connections.sh b/tests/queries/0_stateless/01602_max_distributed_connections.sh index 9dceec936b9..e13b6ed211a 100755 --- a/tests/queries/0_stateless/01602_max_distributed_connections.sh +++ b/tests/queries/0_stateless/01602_max_distributed_connections.sh @@ -30,3 +30,5 @@ timeout 1 ${CLICKHOUSE_CLIENT} --max_threads 1 --max_distributed_connections 1 - timeout 1 ${CLICKHOUSE_CLIENT} --max_threads 1 --max_distributed_connections 1 --async_socket_for_remote 0 --query " SELECT sleep(0.15) FROM remote('127.{1..10}', system.one) FORMAT Null" --prefer_localhost_replica=1 && echo 'Fail' + +echo 'Ok'