Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: 5cf0eabd841b644eef8022dad97fa96aa3661c6a https://github.com/ngircd/ngircd/commit/5cf0eabd841b644eef8022dad97fa96aa366... Author: Alexander Barton alex@barton.de Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths: M src/testsuite/reload-server.sh
Log Message: ----------- Test suite: Wait 2 seconds after reloading the daemon
On reload, all listening ports are closed, configuration updated, and then opened again. Which leads to subsequent tests running while the daemon isn't listening on any ports, and that's why the tests fail.
The "proper" way whould be to loop and check for open ports, but waiting is what the start-server.sh script does right now, so stick with this in reload-server.sh for now as well.
This fixes the issue, at least on my RaspberryPi ...
Closes #280.
ngircd-commits@lists.barton.de