summary refs log tree commit diff
path: root/nixos/tests/hadoop/hdfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/hadoop/hdfs.nix')
-rw-r--r--nixos/tests/hadoop/hdfs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/hadoop/hdfs.nix b/nixos/tests/hadoop/hdfs.nix
index 85aaab34b15..f1f98ed42eb 100644
--- a/nixos/tests/hadoop/hdfs.nix
+++ b/nixos/tests/hadoop/hdfs.nix
@@ -48,7 +48,7 @@ import ../make-test-python.nix ({...}: {
     datanode.wait_for_open_port(9866)
     datanode.wait_for_open_port(9867)
 
-    namenode.succeed("curl http://namenode:9870")
-    datanode.succeed("curl http://datanode:9864")
+    namenode.succeed("curl -f http://namenode:9870")
+    datanode.succeed("curl -f http://datanode:9864")
   '';
 })