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