]> arthur.barton.de Git - ngircd.git/commitdiff
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)
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.


No differences found