test: Shift delay to *really* wati for tshark to start before logging

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-14 01:40:33 +01:00
parent fcded43abf
commit 7343c55f6e

View File

@ -13,12 +13,12 @@ tshark -Qni lo -w ${CAP} port 514 &
PID="$!"
# Wait for tshark to start up properly
sleep 2
sleep 3
../src/logger -u ${SOCK} ${MSG}
# Wait for any OS delays, in particular on Travis
sleep 2
sleep 1
# Stop tshark collector
kill -TERM ${PID}