Merge "Increase retry interval for APF packet count assertion" into main
This commit is contained in:
commit
38c329d847
1 changed files with 8 additions and 4 deletions
|
|
@ -145,10 +145,14 @@ class ApfTestBase(multi_devices_test_base.MultiDevicesTestBase):
|
|||
)
|
||||
|
||||
assert_utils.expect_with_retry(
|
||||
lambda: apf_utils.get_matched_packet_counts(
|
||||
self.serverDevice, self.server_iface_name, receive_packet
|
||||
)
|
||||
== 1
|
||||
lambda: {
|
||||
apf_utils.get_matched_packet_counts(
|
||||
self.serverDevice, self.server_iface_name, receive_packet
|
||||
)
|
||||
== 1
|
||||
},
|
||||
# ensure the server device capturing the offload packet on the handler thread
|
||||
retry_interval_sec=3,
|
||||
)
|
||||
|
||||
# TODO: re-enable once the test passes reliably.
|
||||
|
|
|
|||
Loading…
Reference in a new issue