ClickHouse/docker/test/stateless
Azat Khuzhin 28e0bb78db tests/stateless: properly wait for server
If 10 seconds will not be enough to finish the server, then
clickhouse-local (that goes after) cannot obtain the logs due to status
file will be locked, like in [1]:

    Code: 76. DB::Exception: Cannot lock file /var/lib/clickhouse/status. Another server instance in same directory is already running. (CANNOT_OPEN_FILE)

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/35075/4a064e5b6f81136f2bf923d85001f25fa05d39ce/stateless_tests_flaky_check__address__actions_.html

So use proper wait via "clickhouse stop"

v2: Fix permissions pid file for replicated database servers
    They do not use default, /var/run/clickhouse-server, that do not have
    proper permissions.

Fixes: #36885
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-27 07:18:51 +03:00
..
clickhouse-statelest-test-runner.Dockerfile remove clickhouse-test deb completely 2022-02-15 12:03:51 +00:00
Dockerfile Revert "Change timezone in Docker" 2022-03-13 04:03:06 +03:00
run.sh tests/stateless: properly wait for server 2022-05-27 07:18:51 +03:00
setup_minio.sh Made schema inference work with s3Cluster table function (#35544) 2022-03-29 00:46:35 +02:00