Skip to content

Commit

Permalink
clickhouse: fix test regression (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh authored Feb 27, 2024
1 parent 87ad31e commit 65ebef1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nix/clickhouse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 65ebef1

Please sign in to comment.