mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
c47da6bd48
also, switch to wait_for_open_port instead of just waiting 20s.
21 lines
316 B
Nix
21 lines
316 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 http://localhost:7474/")
|
|
'';
|
|
}
|