Try fix bugfix check

This commit is contained in:
kssenii 2023-11-30 14:11:56 +01:00
parent 296afceed8
commit 0e9aa9b1cd
2 changed files with 9 additions and 0 deletions

View File

@ -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 "/<use_compression>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

View File

@ -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(