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.
···20202121 $netdata->waitForUnit("netdata.service");
22222323+ # wait for the service to listen before sending a request
2424+ $netdata->waitForOpenPort(19999);
2525+2326 # check if the netdata main page loads.
2427 $netdata->succeed("curl --fail http://localhost:19999/");
2528