Skip to content

Commit 0703e67

Browse files
committed
tests: e2e: reduce background traffic noise in chain_update_set
chain_update_set.sh uses pings and rule counters to validate sets are updated as expected. Because the matcher is wide, we sometime fails the test due to background traffic on the NIC. Limit the rule to the existing matchers + `ip4.proto icmp` to catch on ping traffic.
1 parent 18d17d0 commit 0703e67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/e2e/cli/chain_update_set.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ ${FROM_NS} bfcli chain set --from-str "chain test_xdp BF_HOOK_XDP{ifindex=${NS_I
209209
10.0.0.1
210210
}
211211
rule
212+
ip4.proto icmp
212213
(ip4.saddr) in blocked_ips
213214
counter
214215
DROP

0 commit comments

Comments
 (0)