0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-15 06:31:39 +03:00
nixpkgs/nixos/tests/neo4j.nix

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

22 lines
450 B
Nix
Raw Normal View History

{
2019-02-01 14:29:54 +01:00
name = "neo4j";
nodes.server = {
virtualisation.memorySize = 4096;
virtualisation.diskSize = 1024;
2019-02-01 14:29:54 +01:00
services.neo4j.enable = true;
# require tls certs to be available
services.neo4j.https.enable = false;
services.neo4j.bolt.enable = false;
2019-02-01 14:29:54 +01:00
};
testScript = ''
start_all()
2019-02-01 14:29:54 +01:00
server.wait_for_unit("neo4j.service")
server.wait_for_open_port(7474)
server.succeed("curl -f http://localhost:7474/")
2019-02-01 14:29:54 +01:00
'';
}