diff options
| author | 0x4A6F <0x4A6F@users.noreply.github.com> | 2021-12-19 09:30:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-19 09:30:52 +0100 |
| commit | e000da59d4553234f1868a47cafad1ab0f35225e (patch) | |
| tree | 28b059b8a747a3beb9f0eba560fa4a976ed637fa | |
| parent | unifi: Add NixOS tests (diff) | |
| download | nixpkgs-origin/backport-151145-to-release-21.05.tar.gz | |
unifi: Adjust NixOS tests to 21.05
origin/backport-151145-to-release-21.05
- increase virtualisation.memorySize
- use renamed option openPorts
- remove unsupported timeout in wait_until_succeeds
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
| -rw-r--r-- | nixos/tests/unifi.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/unifi.nix b/nixos/tests/unifi.nix index 34284811abfb..791848d22202 100644 --- a/nixos/tests/unifi.nix +++ b/nixos/tests/unifi.nix @@ -16,16 +16,17 @@ let }; nodes.server = { + virtualisation.memorySize = 1024; services.unifi = { enable = true; unifiPackage = unifi; - openFirewall = false; + openPorts = false; }; }; testScript = '' server.wait_for_unit("unifi.service") - server.wait_until_succeeds("curl -Lk https://localhost:8443 >&2", timeout=300) + server.wait_until_succeeds("curl -Lk https://localhost:8443 >&2") ''; }; in with pkgs; { |
