summary refs log tree commit diff
path: root/nixos/tests/neo4j.nix
blob: 86ed8970517c98d9ba2c80b428a9a68bdc9cc8cf (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.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/");
  '';
}