Merge "Increase retry interval for APF packet count assertion" into main

This commit is contained in:
Jimi Chen 2025-07-21 18:38:56 -07:00 • committed by Android (Google) Code Review
commit 38c329d847

View file

@ -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.