mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update 00557_remote_port.sh
This commit is contained in:
parent
d7e6225815
commit
bf6cfadfbc
@ -4,10 +4,10 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
if [ $CLICKHOUSE_HOST == "localhost" ]; then
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.2', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.{2,2}', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.2:${CLICKHOUSE_PORT_TCP}', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.{2,2}:${CLICKHOUSE_PORT_TCP}', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.1', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.{1,1}', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.1:${CLICKHOUSE_PORT_TCP}', system, one);"
|
||||
$CLICKHOUSE_CLIENT -q "SELECT * FROM remote('127.0.0.{1,1}:${CLICKHOUSE_PORT_TCP}', system, one);"
|
||||
else
|
||||
# Can't test without localhost
|
||||
echo 0
|
||||
|
Loading…
Reference in New Issue
Block a user