mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
19 lines
372 B
Nix
19 lines
372 B
Nix
import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
|
name = "riak";
|
|
meta = with lib.maintainers; {
|
|
maintainers = [ Br1ght0ne ];
|
|
};
|
|
|
|
nodes.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")
|
|
'';
|
|
})
|