blob: dd65a6bcf115a615060e242ca6db674119ec031f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# This test runs haka and probes it with hakactl
import ./make-test-python.nix ({ pkgs, ...} : {
name = "haka";
meta = with pkgs.lib.maintainers; {
maintainers = [ tvestelind ];
};
nodes = {
haka =
{ ... }:
{
services.haka.enable = true;
};
};
testScript = ''
start_all()
haka.wait_for_unit("haka.service")
haka.succeed("hakactl status")
haka.succeed("hakactl stop")
'';
})
|