nixpkgs-suyu/nixos/tests/metabase.nix
Artturin 54ece050b8 nixos/qemu-vm: default memorySize 384 -> 1024
the default hasn't been changed since 2009
this can improve our test performances

nixos/tests: remove explicit memorySize <1024

1024MiB is now the default
2021-11-21 17:27:58 +02:00

19 lines
446 B
Nix

import ./make-test-python.nix ({ pkgs, ... }: {
name = "metabase";
meta = with pkgs.lib.maintainers; {
maintainers = [ mmahut ];
};
nodes = {
machine = { ... }: {
services.metabase.enable = true;
};
};
testScript = ''
start_all()
machine.wait_for_unit("metabase.service")
machine.wait_for_open_port(3000)
machine.wait_until_succeeds("curl -fL http://localhost:3000/setup | grep Metabase")
'';
})