diff --git a/docker/test/stateless/run.sh b/docker/test/stateless/run.sh index 07b40ea3b3d..2f763c23515 100755 --- a/docker/test/stateless/run.sh +++ b/docker/test/stateless/run.sh @@ -46,6 +46,14 @@ fi config_logs_export_cluster /etc/clickhouse-server/config.d/system_logs_export.yaml +echo $BUGFIX_VALIDATE_CHECK +if [[ -n "$BUGFIX_VALIDATE_CHECK" ]] && [[ "$BUGFIX_VALIDATE_CHECK" -eq 1 ]]; then + sudo cat /etc/clickhouse-server/config.d/zookeeper.xml \ + | sed "/1<\/use_compression>/d" \ + > /etc/clickhouse-server/config.d/zookeeper.tmp + sudo mv /etc/clickhouse-server/config.d/zookeeper.xml.tmp /etc/clickhouse-server/config.d/zookeeper.xml +fi + # For flaky check we also enable thread fuzzer if [ "$NUM_TRIES" -gt "1" ]; then export THREAD_FUZZER_CPU_TIME_PERIOD_US=1000 diff --git a/tests/ci/functional_test_check.py b/tests/ci/functional_test_check.py index 0736367a62f..f85c44f617d 100644 --- a/tests/ci/functional_test_check.py +++ b/tests/ci/functional_test_check.py @@ -323,6 +323,7 @@ def main(): ) if validate_bugfix_check: additional_envs.append("GLOBAL_TAGS=no-random-settings") + additional_envs.append("BUGFIX_VALIDATE_CHECK=1") ci_logs_credentials = CiLogsCredentials(temp_path / "export-logs-config.sh") ci_logs_args = ci_logs_credentials.get_docker_arguments(