Merge pull request #45647 from xeji/p/netdata-test

nixos/tests/netdata: fix non-deterministic failure
This commit is contained in:
Jörg Thalheim 2018-08-26 13:50:10 +01:00 committed by GitHub
commit b7d7e20b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,9 @@ import ./make-test.nix ({ pkgs, ...} : {
$netdata->waitForUnit("netdata.service");
# wait for the service to listen before sending a request
$netdata->waitForOpenPort(19999);
# check if the netdata main page loads.
$netdata->succeed("curl --fail http://localhost:19999/");