Merge pull request #73991 from flokli/nixos-test-port-neo4j
nixosTests.neo4j: port test to python
This commit is contained in:
commit
457f70fddb
|
@ -1,4 +1,4 @@
|
||||||
import ./make-test.nix {
|
import ./make-test-python.nix {
|
||||||
name = "neo4j";
|
name = "neo4j";
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
|
@ -11,10 +11,10 @@ import ./make-test.nix {
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
start_all()
|
||||||
|
|
||||||
$master->waitForUnit("neo4j");
|
master.wait_for_unit("neo4j")
|
||||||
$master->sleep(20); # Hopefully this is long enough!!
|
master.wait_for_open_port(7474)
|
||||||
$master->succeed("curl http://localhost:7474/");
|
master.succeed("curl http://localhost:7474/")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue