nixos/patroni: only run tests on x86_64-linux

etcd doesn't support other architectures and refuses to start
This commit is contained in:
Paul-Henri Froidmont 2022-11-23 18:53:04 +01:00
parent 62d46c43cb
commit b8ffc572d2
No known key found for this signature in database
GPG key ID: BE948AFD7E7873BE
2 changed files with 3 additions and 1 deletions

View file

@ -480,7 +480,7 @@ in {
pam-u2f = handleTest ./pam/pam-u2f.nix {};
pam-ussh = handleTest ./pam/pam-ussh.nix {};
pass-secret-service = handleTest ./pass-secret-service.nix {};
patroni = handleTest ./patroni.nix {};
patroni = handleTestOn ["x86_64-linux"] ./patroni.nix {};
pantalaimon = handleTest ./matrix/pantalaimon.nix {};
pantheon = handleTest ./pantheon.nix {};
paperless = handleTest ./paperless.nix {};

View file

@ -166,6 +166,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
start_all()
etcd.wait_for_unit("etcd.service")
with subtest("should bootstrap a new patroni cluster"):
wait_for_all_nodes_ready()