mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
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 = ''
|
testScript = ''
|
||||||
$statsd1->start();
|
$statsd1->start();
|
||||||
$statsd1->waitForUnit("statsd.service");
|
$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