mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
21 lines
319 B
Nix
21 lines
319 B
Nix
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 -f http://localhost:7474/")
|
|
'';
|
|
}
|