Skip to content

Commit

Permalink
gh/workflows: Add sleep after curl in pcap-filter-stack
Browse files Browse the repository at this point in the history
Otherwise, the expected output might not appear in pwru.

Signed-off-by: Martynas Pumputis <[email protected]>
  • Loading branch information
brb authored and tklauser committed Jan 8, 2025
1 parent 1daa998 commit f8b7747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
with:
test-name: ${{ matrix.kernel }}-pcap-filter-stack
pwru-pcap-filter: '(((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)'
traffic-setup: curl -vvv -sS --fail --connect-timeout "1" -o /dev/null http://1.1.1.1 || true
traffic-setup: curl -vvv -sS --fail --connect-timeout "1" -o /dev/null http://1.1.1.1 || true; sleep 5
expected-output-pattern: '1.1.1.1:80'

- name: Test --filter-track-skb
Expand Down

0 comments on commit f8b7747

Please sign in to comment.