Merge pull request #67560 from evillique/fix-timeout-stateless-tests

[CI] Check for timeout when we stop logs replication
This commit is contained in:
Nikolay Degterinsky 2024-08-06 14:35:23 +00:00 committed by GitHub
commit 1126ae3e5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -218,6 +218,6 @@ function stop_logs_replication
clickhouse-client --query "select database||'.'||table from system.tables where database = 'system' and (table like '%_sender' or table like '%_watcher')" | {
tee /dev/stderr
} | {
xargs -n1 -r -i clickhouse-client --query "drop table {}"
timeout --preserve-status --signal TERM --kill-after 5m 15m xargs -n1 -r -i clickhouse-client --query "drop table {}"
}
}