From 6d27068d7c1b35b3a074671fae658c3f3aa445cd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 3 Jun 2021 20:29:02 +0200 Subject: [PATCH] nixos/tests/snapcast: minor polish to make the tests more expressive --- nixos/tests/snapcast.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/snapcast.nix b/nixos/tests/snapcast.nix index ef35d586c9c8..8d960b4cc069 100644 --- a/nixos/tests/snapcast.nix +++ b/nixos/tests/snapcast.nix @@ -72,10 +72,10 @@ in { ) with subtest("test a connection"): - client.execute("systemd-run snapclient -h server -p ${toString port}") + client.execute("systemd-run --unit=snapcast-client snapclient -h server -p ${toString port}") server.wait_until_succeeds( "journalctl -o cat -u snapserver.service | grep -q 'Hello from'" ) - client.wait_until_succeeds("journalctl -o cat -u run-\* | grep -q ${toString bufferSize}") + client.wait_until_succeeds("journalctl -o cat -u snapcast-client | grep -q 'buffer: ${toString bufferSize}'") ''; })