mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
18 lines
366 B
Nix
18 lines
366 B
Nix
import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
|
name = "riak";
|
|
meta = with lib.maintainers; {
|
|
maintainers = [ filalex77 ];
|
|
};
|
|
|
|
machine = {
|
|
services.riak.enable = true;
|
|
services.riak.package = pkgs.riak;
|
|
};
|
|
|
|
testScript = ''
|
|
machine.start()
|
|
|
|
machine.wait_for_unit("riak")
|
|
machine.wait_until_succeeds("riak ping 2>&1")
|
|
'';
|
|
})
|