mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
dbms: modified test [#METR-11370].
This commit is contained in:
parent
9c7ac77624
commit
db0d25ea6d
@ -24,13 +24,19 @@ cat "$CONFIG" | sed -r \
|
||||
s/<http_port>[0-9]+/<http_port>8124/;
|
||||
s/<tcp_port>[0-9]+/<tcp_port>9001/;
|
||||
s/<interserver_http_port>[0-9]+/<interserver_http_port>9010/;
|
||||
s/<use_olap_http_server>true/<use_olap_http_server>false/' > $CONFIG2
|
||||
s/<use_olap_http_server>true/<use_olap_http_server>false/;
|
||||
s/users\.xml/users-preprocessed.xml/' > $CONFIG2
|
||||
|
||||
cp ${CONFIG/config/users} .
|
||||
|
||||
# Запустим второй сервер.
|
||||
BINARY=$(readlink /proc/$(pidof clickhouse-server | tr ' ' '\n' | head -n1)/exe || echo "/usr/bin/clickhouse-server")
|
||||
|
||||
if [ ! -x "$BINARY" ]; then
|
||||
echo "Cannot find executable binary for running clickhouse-server" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
$BINARY --config-file=${CONFIG2} 2>$LOG &
|
||||
PID=$!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user