Merge pull request #40214 from xeji/fix-statsd-test

nixos/tests/statsd: fix non-deterministic failure
This commit is contained in:
Sarah Brofeldt
2018-05-09 14:26:58 +02:00
committed by GitHub

View File

@@ -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");
'';
})