nixpkgs/nixos/tests/neo4j.nix

21 lines
333 B
Nix
Raw Normal View History

2019-02-01 13:29:54 +00:00
import ./make-test.nix {
name = "neo4j";
nodes = {
master =
{ ... }:
{
services.neo4j.enable = true;
};
};
testScript = ''
startAll;
$master->waitForUnit("neo4j");
$master->sleep(20); # Hopefully this is long enough!!
$master->succeed("curl http://localhost:7474/");
'';
}