1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/nixos/tests/riak.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");
'';
}