3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/riak.nix

22 lines
366 B
Nix

import ./make-test.nix {
name = "riak";
nodes = {
master =
{ pkgs, ... }:
{
services.riak.enable = true;
services.riak.package = pkgs.riak;
};
};
testScript = ''
startAll;
$master->waitForUnit("riak");
$master->sleep(20); # Hopefully this is long enough!!
$master->succeed("riak ping 2>&1");
'';
}