nixos/tests/statsd: fix non-deterministic failure
Test failed sometimes because the service took more time to start.
This commit is contained in:
parent
1d55c211cb
commit
844698c436
@ -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
Block a user