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
commit 2ea084ec3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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