aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/neo4j.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/neo4j.nix')
-rw-r--r--nixpkgs/nixos/tests/neo4j.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/neo4j.nix b/nixpkgs/nixos/tests/neo4j.nix
new file mode 100644
index 00000000000..86ed8970517
--- /dev/null
+++ b/nixpkgs/nixos/tests/neo4j.nix
@@ -0,0 +1,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/");
+ '';
+}