nixosTests.icingaweb2: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-29 21:54:28 +01:00
parent 6576966d10
commit e6dd7d6641
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 61 additions and 63 deletions

View file

@ -557,7 +557,7 @@ in {
hub = handleTest ./git/hub.nix {}; hub = handleTest ./git/hub.nix {};
hydra = handleTest ./hydra {}; hydra = handleTest ./hydra {};
i3wm = handleTest ./i3wm.nix {}; i3wm = handleTest ./i3wm.nix {};
icingaweb2 = handleTest ./icingaweb2.nix {}; icingaweb2 = runTest ./icingaweb2.nix;
ifm = handleTest ./ifm.nix {}; ifm = handleTest ./ifm.nix {};
iftop = handleTest ./iftop.nix {}; iftop = handleTest ./iftop.nix {};
immich = handleTest ./web-apps/immich.nix {}; immich = handleTest ./web-apps/immich.nix {};

View file

@ -1,6 +1,5 @@
import ./make-test-python.nix ( { pkgs, ... }:
{ pkgs, ... }: {
{
name = "icingaweb2"; name = "icingaweb2";
meta = { meta = {
maintainers = pkgs.lib.teams.helsinki-systems.members; maintainers = pkgs.lib.teams.helsinki-systems.members;
@ -72,5 +71,4 @@ import ./make-test-python.nix (
icingaweb2.wait_for_unit("multi-user.target") icingaweb2.wait_for_unit("multi-user.target")
icingaweb2.succeed("curl -sSf http://icingaweb2/authentication/login") icingaweb2.succeed("curl -sSf http://icingaweb2/authentication/login")
''; '';
} }
)