summary refs log tree commit diff
path: root/nixos/tests/hound.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/hound.nix')
-rw-r--r--nixos/tests/hound.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/hound.nix b/nixos/tests/hound.nix
index f21c0ad58a8..cb8e25332c0 100644
--- a/nixos/tests/hound.nix
+++ b/nixos/tests/hound.nix
@@ -52,7 +52,7 @@ import ./make-test.nix ({ pkgs, ... } : {
        $machine->waitForUnit("network.target");
        $machine->waitForUnit("hound.service");
        $machine->waitForOpenPort(6080);
-       $machine->succeed('curl http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep "Filename" | grep "hello"');
+       $machine->waitUntilSucceeds('curl http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep "Filename" | grep "hello"');
 
     '';
 })