depot/third_party/nixpkgs/nixos/tests/neo4j.nix

21 lines
316 B
Nix
Raw Normal View History

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)
master.succeed("curl http://localhost:7474/")
'';
}