2015-07-21 04:16:18 -06:00
|
|
|
import ./make-test.nix {
|
|
|
|
name = "riak";
|
|
|
|
|
|
|
|
nodes = {
|
|
|
|
master =
|
|
|
|
{ pkgs, config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.riak.enable = true;
|
2016-03-22 15:39:38 -06:00
|
|
|
services.riak.package = pkgs.riak;
|
2015-07-21 04:16:18 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
startAll;
|
|
|
|
|
|
|
|
$master->waitForUnit("riak");
|
|
|
|
$master->sleep(20); # Hopefully this is long enough!!
|
2015-08-03 19:48:29 -06:00
|
|
|
$master->succeed("riak ping 2>&1");
|
2015-07-21 04:16:18 -06:00
|
|
|
'';
|
|
|
|
}
|