git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #40214 from xeji/fix-statsd-test
2ea084eSarah Brofeldt
nixos/tests/statsd.nix+1−1
@@ -35,6 +35,6 @@ with lib;
35 testScript = ''
35 testScript = ''
36 $statsd1->start();
36 $statsd1->start();
37 $statsd1->waitForUnit("statsd.service");
37 $statsd1->waitForUnit("statsd.service");
38− $statsd1->succeed("nc -z 127.0.0.1 8126");
38+ $statsd1->waitUntilSucceeds("nc -z 127.0.0.1 8126");
39 '';
39 '';
40})
40})