mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
add configs to fast test digest
This commit is contained in:
parent
c1e556df84
commit
cf33249988
@ -97,7 +97,8 @@ def main():
|
|||||||
f"ln -sf {ch_path}/clickhouse {ch_path}/clickhouse-local",
|
f"ln -sf {ch_path}/clickhouse {ch_path}/clickhouse-local",
|
||||||
f"rm -rf {Settings.TEMP_DIR}/etc/ && mkdir -p {Settings.TEMP_DIR}/etc/clickhouse-client {Settings.TEMP_DIR}/etc/clickhouse-server",
|
f"rm -rf {Settings.TEMP_DIR}/etc/ && mkdir -p {Settings.TEMP_DIR}/etc/clickhouse-client {Settings.TEMP_DIR}/etc/clickhouse-server",
|
||||||
f"cp programs/server/config.xml programs/server/users.xml {Settings.TEMP_DIR}/etc/clickhouse-server/",
|
f"cp programs/server/config.xml programs/server/users.xml {Settings.TEMP_DIR}/etc/clickhouse-server/",
|
||||||
f"./tests/config/install.sh {Settings.TEMP_DIR}/etc/clickhouse-server {Settings.TEMP_DIR}/etc/clickhouse-client --s3-storage",
|
# TODO: find a way to work with Azure secret so it's ok for local tests as well, for now keep azure disabled
|
||||||
|
f"./tests/config/install.sh {Settings.TEMP_DIR}/etc/clickhouse-server {Settings.TEMP_DIR}/etc/clickhouse-client --s3-storage --no-azure",
|
||||||
# clickhouse benchmark segfaults with --config-path, so provide client config by its default location
|
# clickhouse benchmark segfaults with --config-path, so provide client config by its default location
|
||||||
f"cp {Settings.TEMP_DIR}/etc/clickhouse-client/* /etc/clickhouse-client/",
|
f"cp {Settings.TEMP_DIR}/etc/clickhouse-client/* /etc/clickhouse-client/",
|
||||||
# update_path_ch_config,
|
# update_path_ch_config,
|
||||||
|
@ -569,6 +569,8 @@ class CI:
|
|||||||
include_paths=[
|
include_paths=[
|
||||||
"./tests/queries/0_stateless/",
|
"./tests/queries/0_stateless/",
|
||||||
"./tests/docker_scripts/",
|
"./tests/docker_scripts/",
|
||||||
|
"./tests/config/",
|
||||||
|
"./tests/clickhouse-test",
|
||||||
],
|
],
|
||||||
exclude_files=[".md"],
|
exclude_files=[".md"],
|
||||||
docker=["clickhouse/fasttest"],
|
docker=["clickhouse/fasttest"],
|
||||||
|
@ -13,6 +13,7 @@ if [ $# -ge 2 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
FAST_TEST=0
|
FAST_TEST=0
|
||||||
|
|
||||||
NO_AZURE=0
|
NO_AZURE=0
|
||||||
|
|
||||||
while [[ "$#" -gt 0 ]]; do
|
while [[ "$#" -gt 0 ]]; do
|
||||||
@ -88,7 +89,7 @@ ln -sf $SRC_PATH/config.d/serverwide_trace_collector.xml $DEST_SERVER_PATH/confi
|
|||||||
ln -sf $SRC_PATH/config.d/rocksdb.xml $DEST_SERVER_PATH/config.d/
|
ln -sf $SRC_PATH/config.d/rocksdb.xml $DEST_SERVER_PATH/config.d/
|
||||||
|
|
||||||
# Not supported with fasttest.
|
# Not supported with fasttest.
|
||||||
if [ "${DEST_SERVER_PATH}" = "/etc/clickhouse-server" ] || [ "$FAST_TEST" != "1" ]; then
|
if [ "$FAST_TEST" != "1" ]; then
|
||||||
ln -sf "$SRC_PATH/config.d/legacy_geobase.xml" "$DEST_SERVER_PATH/config.d/"
|
ln -sf "$SRC_PATH/config.d/legacy_geobase.xml" "$DEST_SERVER_PATH/config.d/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ function configure
|
|||||||
|
|
||||||
mkdir -p "$FASTTEST_DATA"{,/client-config}
|
mkdir -p "$FASTTEST_DATA"{,/client-config}
|
||||||
cp -a "$FASTTEST_SOURCE/programs/server/"{config,users}.xml "$FASTTEST_DATA"
|
cp -a "$FASTTEST_SOURCE/programs/server/"{config,users}.xml "$FASTTEST_DATA"
|
||||||
"$FASTTEST_SOURCE/tests/config/install.sh" "$FASTTEST_DATA" "$FASTTEST_DATA/client-config"
|
"$FASTTEST_SOURCE/tests/config/install.sh" "$FASTTEST_DATA" "$FASTTEST_DATA/client-config" --fast-test
|
||||||
cp -a "$FASTTEST_SOURCE/programs/server/config.d/log_to_console.xml" "$FASTTEST_DATA/config.d"
|
cp -a "$FASTTEST_SOURCE/programs/server/config.d/log_to_console.xml" "$FASTTEST_DATA/config.d"
|
||||||
# doesn't support SSL
|
# doesn't support SSL
|
||||||
rm -f "$FASTTEST_DATA/config.d/secure_ports.xml"
|
rm -f "$FASTTEST_DATA/config.d/secure_ports.xml"
|
||||||
|
Loading…
Reference in New Issue
Block a user