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="$!"
|
PID="$!"
|
||||||
|
|
||||||
# Wait for tshark to start up properly
|
# Wait for tshark to start up properly
|
||||||
sleep 2
|
sleep 3
|
||||||
|
|
||||||
../src/logger -u ${SOCK} ${MSG}
|
../src/logger -u ${SOCK} ${MSG}
|
||||||
|
|
||||||
# Wait for any OS delays, in particular on Travis
|
# Wait for any OS delays, in particular on Travis
|
||||||
sleep 2
|
sleep 1
|
||||||
|
|
||||||
# Stop tshark collector
|
# Stop tshark collector
|
||||||
kill -TERM ${PID}
|
kill -TERM ${PID}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user