mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
clickhouse: fix test regression (#109)
This commit is contained in:
parent
87ad31ec21
commit
65ebef12e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user