parent
ceb8b4a5f9
commit
48232ce3d8
@ -1412,7 +1412,7 @@ in
|
||||
wakapi = runTest ./wakapi.nix;
|
||||
warzone2100 = handleTest ./warzone2100.nix { };
|
||||
wasabibackend = handleTest ./wasabibackend.nix { };
|
||||
wastebin = handleTest ./wastebin.nix { };
|
||||
wastebin = runTest ./wastebin.nix;
|
||||
watchdogd = handleTest ./watchdogd.nix { };
|
||||
webhook = runTest ./webhook.nix;
|
||||
weblate = handleTest ./web-apps/weblate.nix { };
|
||||
|
@ -1,24 +1,22 @@
|
||||
import ./make-test-python.nix (
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
name = "wastebin";
|
||||
{ lib, ... }:
|
||||
{
|
||||
name = "wastebin";
|
||||
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ pinpox ];
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ pinpox ];
|
||||
};
|
||||
|
||||
nodes.machine =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.wastebin = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
nodes.machine =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.wastebin = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("wastebin.service")
|
||||
machine.wait_for_open_port(8088)
|
||||
machine.succeed("curl --fail http://localhost:8088/")
|
||||
'';
|
||||
}
|
||||
)
|
||||
testScript = ''
|
||||
machine.wait_for_unit("wastebin.service")
|
||||
machine.wait_for_open_port(8088)
|
||||
machine.succeed("curl --fail http://localhost:8088/")
|
||||
'';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user