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:
parent
fcded43abf
commit
7343c55f6e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user