1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/nixos/tests/riak.nix

22 lines
366 B
Nix
Raw Normal View History

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