From 857573a261bf0220c5446d4206f1be6f2a7cfdb5 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Sat, 28 Jun 2025 21:23:12 +0000 Subject: [PATCH] nixos/prosody: Migrate test to runTest --- nixos/tests/all-tests.nix | 2 +- nixos/tests/xmpp/prosody.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 948c86833ae6..0cf855148c13 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1250,7 +1250,7 @@ in privoxy = runTest ./privoxy.nix; prometheus = import ./prometheus { inherit runTest; }; prometheus-exporters = handleTest ./prometheus-exporters.nix { }; - prosody = handleTest ./xmpp/prosody.nix { }; + prosody = runTest ./xmpp/prosody.nix; prosody-mysql = handleTest ./xmpp/prosody-mysql.nix { }; proxy = runTest ./proxy.nix; prowlarr = runTest ./prowlarr.nix; diff --git a/nixos/tests/xmpp/prosody.nix b/nixos/tests/xmpp/prosody.nix index b4ee128a050d..3b7e028de4fc 100644 --- a/nixos/tests/xmpp/prosody.nix +++ b/nixos/tests/xmpp/prosody.nix @@ -1,3 +1,5 @@ +{ ... }: + let cert = pkgs: @@ -29,7 +31,7 @@ let prosodyctl deluser azurediamond@example.com ''; in -import ../make-test-python.nix { +{ name = "prosody"; nodes = { client-a =