Add slight delay before killing server in ssl-opt.sh for log output

It seems that tests from ssl-opt.sh are sometimes failing because
the server is killed before its output has been finalized. This commit
adds a small delay in ssl-opt.sh before killing the server to prevent
that.
This commit is contained in:
Hanno Becker 2017-05-26 13:56:10 +01:00
parent 8b170a0a0b
commit cadb5bbe3c

View File

@ -443,6 +443,8 @@ run_test() {
eval "$CLI_CMD" >> $CLI_OUT 2>&1 &
wait_client_done
sleep 0.05
# terminate the server (and the proxy)
kill $SRV_PID
wait $SRV_PID