mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/patroni: only run tests on x86_64-linux
etcd doesn't support other architectures and refuses to start
This commit is contained in:
parent
62d46c43cb
commit
b8ffc572d2
2 changed files with 3 additions and 1 deletions
|
@ -480,7 +480,7 @@ in {
|
||||||
pam-u2f = handleTest ./pam/pam-u2f.nix {};
|
pam-u2f = handleTest ./pam/pam-u2f.nix {};
|
||||||
pam-ussh = handleTest ./pam/pam-ussh.nix {};
|
pam-ussh = handleTest ./pam/pam-ussh.nix {};
|
||||||
pass-secret-service = handleTest ./pass-secret-service.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 {};
|
pantalaimon = handleTest ./matrix/pantalaimon.nix {};
|
||||||
pantheon = handleTest ./pantheon.nix {};
|
pantheon = handleTest ./pantheon.nix {};
|
||||||
paperless = handleTest ./paperless.nix {};
|
paperless = handleTest ./paperless.nix {};
|
||||||
|
|
|
@ -166,6 +166,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
||||||
|
|
||||||
start_all()
|
start_all()
|
||||||
|
|
||||||
|
etcd.wait_for_unit("etcd.service")
|
||||||
|
|
||||||
with subtest("should bootstrap a new patroni cluster"):
|
with subtest("should bootstrap a new patroni cluster"):
|
||||||
wait_for_all_nodes_ready()
|
wait_for_all_nodes_ready()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue