lol

nixos/tests/netdata: fix non-deterministic failure

The test sporadically failed on hydra when a request was made
before the service was actually listening on its port.
Explicitly wait for the port to open.

Uli Baum a44469d7 3d1331f4

+3
+3
nixos/tests/netdata.nix
··· 20 20 21 21 $netdata->waitForUnit("netdata.service"); 22 22 23 + # wait for the service to listen before sending a request 24 + $netdata->waitForOpenPort(19999); 25 + 23 26 # check if the netdata main page loads. 24 27 $netdata->succeed("curl --fail http://localhost:19999/"); 25 28