nixos/tests/snapcast: migrate to runTest

Part of #386873
This commit is contained in:
Martin Weinelt 2025-03-10 20:20:04 +01:00
parent 9b7b22afa1
commit 6919956d08
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 80 additions and 79 deletions

View file

@ -1036,7 +1036,7 @@ in {
slurm = handleTest ./slurm.nix {}; slurm = handleTest ./slurm.nix {};
snmpd = handleTest ./snmpd.nix {}; snmpd = handleTest ./snmpd.nix {};
smokeping = handleTest ./smokeping.nix {}; smokeping = handleTest ./smokeping.nix {};
snapcast = handleTest ./snapcast.nix {}; snapcast = runTest ./snapcast.nix;
snapper = handleTest ./snapper.nix {}; snapper = handleTest ./snapper.nix {};
snipe-it = runTest ./web-apps/snipe-it.nix; snipe-it = runTest ./web-apps/snipe-it.nix;
soapui = handleTest ./soapui.nix {}; soapui = handleTest ./soapui.nix {};

View file

@ -1,5 +1,7 @@
import ./make-test-python.nix ( {
{ pkgs, ... }: pkgs,
...
}:
let let
port = 10004; port = 10004;
@ -90,4 +92,3 @@ import ./make-test-python.nix (
client.wait_until_succeeds("journalctl -o cat -u snapcast-client | grep -q 'buffer: ${toString bufferSize}'") client.wait_until_succeeds("journalctl -o cat -u snapcast-client | grep -q 'buffer: ${toString bufferSize}'")
''; '';
} }
)