3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/neo4j.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
319 B
Nix
Raw Normal View History

import ./make-test-python.nix {
2019-02-01 13:29:54 +00:00
name = "neo4j";
nodes = {
master =
{ ... }:
{
services.neo4j.enable = true;
};
};
testScript = ''
start_all()
2019-02-01 13:29:54 +00:00
master.wait_for_unit("neo4j")
master.wait_for_open_port(7474)
2020-09-16 07:03:14 +01:00
master.succeed("curl -f http://localhost:7474/")
2019-02-01 13:29:54 +00:00
'';
}