diff options
author | Uli Baum <xeji@cat3.de> | 2018-05-09 12:38:09 +0200 |
---|---|---|
committer | Uli Baum <xeji@cat3.de> | 2018-05-09 12:38:09 +0200 |
commit | 844698c436d8857fe07cd95a89e967506d9cf98b (patch) | |
tree | 4e126d8aabbda7b5e0ed1caa7e09532836b8faab /nixos/tests | |
parent | 1d55c211cbc494d3882fc2f6819a961a3dca0465 (diff) | |
download | nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.tar nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.tar.gz nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.tar.bz2 nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.tar.lz nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.tar.xz nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.tar.zst nixlib-844698c436d8857fe07cd95a89e967506d9cf98b.zip |
nixos/tests/statsd: fix non-deterministic failure
Test failed sometimes because the service took more time to start.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/statsd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/statsd.nix b/nixos/tests/statsd.nix index a9d7dc61cb60..c71949249a4b 100644 --- a/nixos/tests/statsd.nix +++ b/nixos/tests/statsd.nix @@ -35,6 +35,6 @@ with lib; testScript = '' $statsd1->start(); $statsd1->waitForUnit("statsd.service"); - $statsd1->succeed("nc -z 127.0.0.1 8126"); + $statsd1->waitUntilSucceeds("nc -z 127.0.0.1 8126"); ''; }) |