2020-04-24 23:36:52 +00:00
|
|
|
import ./make-test-python.nix {
|
|
|
|
name = "neo4j";
|
|
|
|
|
|
|
|
nodes = {
|
|
|
|
master =
|
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.neo4j.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
start_all()
|
|
|
|
|
|
|
|
master.wait_for_unit("neo4j")
|
|
|
|
master.wait_for_open_port(7474)
|
2020-10-27 00:29:36 +00:00
|
|
|
master.succeed("curl -f http://localhost:7474/")
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
}
|