mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Added a test for #4211
This commit is contained in:
parent
6e1c1b0dbb
commit
66e810fc23
@ -0,0 +1 @@
|
||||
30
|
6
tests/queries/0_stateless/01361_failover_remote_num_tries.sh
Executable file
6
tests/queries/0_stateless/01361_failover_remote_num_tries.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
$CLICKHOUSE_CLIENT --connections_with_failover_max_tries 10 --query "SELECT hostName() FROM remote('128.1.2.3', default.tmp)" 2>&1 | grep -o 'connect timed out' | wc -l
|
Loading…
Reference in New Issue
Block a user