nixos/tests/statsd: fix non-deterministic failure
Test failed sometimes because the service took more time to start. (cherry picked from commit 844698c436d8857fe07cd95a89e967506d9cf98b)release-18.03-flake
parent
6b1bc176f4
commit
461e6843b5
|
@ -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");
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue