Skip to content

Commit

Permalink
tests: decrease risk of flaky failures of ovn -- CoPP system test
Browse files Browse the repository at this point in the history
The test was often failing with a meter of 10 pps while generating 100 packets.
When the 100 packets generation takes more than 100 msec, the test fails.
This happens from time to time in upstream ci.
Reducing the number of generated packets to 40 should reduce number of flakes.

Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Acked-by: Ales Musil <amusil@redhat.com>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
  • Loading branch information
simonartxavier authored and putnopvut committed May 1, 2023
1 parent 78dbbc8 commit e538927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system-ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -7190,7 +7190,7 @@ NS_EXEC([sw01], [tcpdump -l -n -i sw01 icmp -Q in > reject.pcap &])
check ovn-nbctl --may-exist meter-add acl-meter drop 10 pktps 0
ip netns exec sw01 scapy -H <<-EOF
p = IP(src="192.168.1.2", dst="192.168.1.1") / UDP(dport = 12345) / Raw(b"X"*64)
send (p, iface='sw01', loop = 0, verbose = 0, count = 100)
send (p, iface='sw01', loop = 0, verbose = 0, count = 40)
EOF

# 10pps
Expand Down

0 comments on commit e538927

Please sign in to comment.