Skip to content

Commit

Permalink
try to pass ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed May 6, 2024
1 parent 1ef87da commit c7887b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdata/test_read_pcap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RNAME="${FILE_PREFIX}_pcap.read.txt"

function tcpdump_write() {
which tcpdump || (apt update || true && apt install -y tcpdump)
timeout 30s tcpdump -c 1 -i any -s 0 -n --print -w "${FNAME}" -Z root \
timeout 50s tcpdump -c 1 -i any -s 0 -n --print -w "${FNAME}" -Z root \
'dst host 1.1.1.1 and tcp[tcpflags] = tcp-syn' | tee "${LNAME}" &
sleep 10
sleep 30
curl -m 10 1.1.1.1 &>/dev/null || true
wait

Expand Down

0 comments on commit c7887b3

Please sign in to comment.