mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00: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");
|
|
'';
|
|
}
|