nixpkgs-suyu/nixos/tests/riak.nix

22 lines
375 B
Nix
Raw Normal View History

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