mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
54ece050b8
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
19 lines
446 B
Nix
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")
|
|
'';
|
|
})
|