Skip to content

Commit a10a79d

Browse files
committed
Add CI test for --filter-ifname
Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
1 parent 3ddabf3 commit a10a79d

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ jobs:
114114
expected-output-pattern: '1.1.1.1:80'
115115

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

127+
- name: Test --filter-ifname
128+
uses: ./.github/actions/pwru-test
129+
with:
130+
test-name: filter-ifname
131+
pwru-flags: --filter-ifname lo
132+
pwru-pcap-filter: icmp
133+
traffic-setup: |
134+
ping -W1 -c1 127.0.0.1 || true
135+
expected-output-pattern: 'icmp'
136+
128137
- name: Fetch artifacts
129138
if: ${{ !success() }}
130139
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d

0 commit comments

Comments
 (0)