mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03: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");
|
|
'';
|
|
}
|