File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ import ./make-test-python.nix ({ pkgs, ...} : {
3939
4040 with subtest("squeezelite player successfully connects to slimserver"):
4141 machine.wait_for_unit("squeezelite.service")
42- machine.wait_until_succeeds("journalctl -u squeezelite.service | grep 'slimproto:937 connected'")
43- player_mac = machine.wait_until_succeeds("journalctl -eu squeezelite.service | grep 'sendHELO:148 mac:'").strip().split(" ")[-1]
42+ machine.wait_until_succeeds("journalctl -u squeezelite.service | grep -E 'slimproto:[0-9]+ connected'")
43+ player_mac = machine.wait_until_succeeds("journalctl -eu squeezelite.service | grep -E 'sendHELO:[0-9]+ mac:'").strip().split(" ")[-1]
4444 player_id = machine.succeed(f"curl http://localhost:9000/jsonrpc.js -g -X POST -d '{json.dumps(rpc_get_player)}'")
4545 assert player_mac == json.loads(player_id)["result"]["_id"], "squeezelite player not found"
4646 '' ;
You can’t perform that action at this time.
0 commit comments