nixos/tests/bazarr: fix eval error
The test still doesn't pass, it has some runtime issues as well.
Fixes: 5803706662
("nixos/tests: fix type mismatch in wait_for_open_port")
This commit is contained in:
parent
92fe5610ff
commit
166c9c8269
@ -16,11 +16,12 @@ in
|
||||
enable = true;
|
||||
listenPort = port;
|
||||
};
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["unrar"];
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("bazarr.service")
|
||||
machine.wait_for_open_port(port)
|
||||
machine.wait_for_open_port(${toString port})
|
||||
machine.succeed("curl --fail http://localhost:${toString port}/")
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user