mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/tests/hadoop: Use curl --fail
This commit is contained in:
parent
c25ccf6b4b
commit
f99b6369b1
@ -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")
|
||||
'';
|
||||
})
|
||||
|
@ -40,7 +40,7 @@ import ../make-test-python.nix ({...}: {
|
||||
nodemanager.wait_for_open_port(8042)
|
||||
nodemanager.wait_for_open_port(8041)
|
||||
|
||||
resourcemanager.succeed("curl http://localhost:8088")
|
||||
nodemanager.succeed("curl http://localhost:8042")
|
||||
resourcemanager.succeed("curl -f http://localhost:8088")
|
||||
nodemanager.succeed("curl -f http://localhost:8042")
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user