clickhouse: fix test regression (#109)

This commit is contained in:
Shivaraj B H 2024-02-27 19:35:08 +05:30 committed by GitHub
parent 87ad31ec21
commit 65ebef12e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,13 @@ in
command = "${lib.getExe startScript}";
readiness_probe = {
exec.command = ''${config.package}/bin/clickhouse-client --query "SELECT 1" --port ${builtins.toString config.port}'';
# FIXME: revert back to clickhouse-client readiness_probe once CI is moved out of github public runners
# See: https://github.com/juspay/services-flake/issues/100
# exec.command = ''${config.package}/bin/clickhouse-client --query "SELECT 1" --port ${builtins.toString config.port}'';
http_get = {
host = "localhost";
port = if (lib.hasAttr "http_port" config.extraConfig) then config.extraConfig.http_port else 8123;
};
initial_delay_seconds = 2;
period_seconds = 10;
timeout_seconds = 4;