mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
22 lines
366 B
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");
|
|
'';
|
|
}
|