summary refs log tree commit diff
path: root/nixos/tests/neo4j.nix
blob: 32ee7f501b8bcb081716141da06535d9cb0631d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/")
  '';
}