Skip to content

Commit

Permalink
Add test for ARP filter
Browse files Browse the repository at this point in the history
Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
  • Loading branch information
jschwinger233 committed Sep 22, 2023
1 parent b0abc7b commit b08a66a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ jobs:
expected-output-pattern: '1.1.1.1:80'

- name: Test --filter-track-skb
# DNAT
uses: ./.github/actions/pwru-test
with:
test-name: filter-track-skb
Expand All @@ -125,6 +124,16 @@ jobs:
curl -vvv -sS --fail --connect-timeout "1" -o /dev/null http://10.10.20.99:80 || true
expected-output-pattern: '10.10.14.2:80'

- name: Test ARP
uses: ./.github/actions/pwru-test
with:
test-name: arp
pwru-pcap-filter: arp
traffic-setup: |
for dev in $(ip --br l | awk '{print $1}'); do ip neigh flush dev $dev || true; done
ping -c1 8.8.8.8
expected-output-pattern: 'arp_rcv'

- name: Fetch artifacts
if: ${{ !success() }}
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d
Expand Down

0 comments on commit b08a66a

Please sign in to comment.