diff options
author | Adam C. Stephens <2071575+adamcstephens@users.noreply.github.com> | 2024-05-06 09:49:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 09:49:12 -0400 |
commit | f9ae6eb42758fcf324018b025527937c1d553789 (patch) | |
tree | 3fedad03da06744b17773ed1ce29b70ce4b7b8a1 /nixos/tests | |
parent | a0feda22300acaed99698f77e16d20f2748d2b07 (diff) | |
parent | 3d20a75e9a6d0e67d185d173d1860414da51db4c (diff) |
Merge pull request #309363 from adamcstephens/patroni/3.3.0
patroni: 2.1.3 -> 3.3.0
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/patroni.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/patroni.nix b/nixos/tests/patroni.nix index 1f15cd59677ad..68fce4051553e 100644 --- a/nixos/tests/patroni.nix +++ b/nixos/tests/patroni.nix @@ -155,7 +155,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: print(node.succeed("patronictl list cluster1")) node.wait_until_succeeds(f"[ $(patronictl list -f json cluster1 | jq 'length') == {expected_replicas + 1} ]") node.wait_until_succeeds("[ $(patronictl list -f json cluster1 | jq 'map(select(.Role | test(\"^Leader$\"))) | map(select(.State | test(\"^running$\"))) | length') == 1 ]") - node.wait_until_succeeds(f"[ $(patronictl list -f json cluster1 | jq 'map(select(.Role | test(\"^Replica$\"))) | map(select(.State | test(\"^running$\"))) | length') == {expected_replicas} ]") + node.wait_until_succeeds(f"[ $(patronictl list -f json cluster1 | jq 'map(select(.Role | test(\"^Replica$\"))) | map(select(.State | test(\"^streaming$\"))) | length') == {expected_replicas} ]") print(node.succeed("patronictl list cluster1")) client.wait_until_succeeds("psql -h 127.0.0.1 -U postgres --command='select 1;'") |