]> arthur.barton.de Git - ngircd-alex.git/commit
Test suite: Wait 2 seconds after reloading the daemon
authorAlexander Barton <alex@barton.de>
Sun, 1 Nov 2020 16:25:39 +0000 (17:25 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 1 Nov 2020 16:25:39 +0000 (17:25 +0100)
commit5cf0eabd841b644eef8022dad97fa96aa3661c6a
treebf06e354c3806d767f860f8fdf13fa17748c4ef5
parent6e382889a30462382e84a426874881d2f7da80e4
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.
src/testsuite/reload-server.sh