mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
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
20 lines
446 B
Nix
20 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")
|
|
'';
|
|
})
|