Use unicast instead of broadcast as ethernet destination in test_apf_drop_ethercat

To prevent packet dropped earlier by multicast filtering,
use unicast ethernet destination instead

Bug: 360730207
Test: m connectivity_multi_devices_snippet && atest CtsConnectivityMultiDevicesTestCases:ApfV4Test
Change-Id: I4816b71f68f349abf1423c7013bb058ccc233d61
This commit is contained in:
Jimi Chen 2024-09-19 10:48:38 +00:00 • committed by Maciej Żenczykowski
commit 46102348e0

View file

@ -50,6 +50,9 @@ class ApfTestBase(multi_devices_test_base.MultiDevicesTestBase):
self.server_mac_address = apf_utils.get_hardware_address(
self.serverDevice, self.server_iface_name
)
self.client_mac_address = apf_utils.get_hardware_address(
self.clientDevice, self.client_iface_name
)
# Enable doze mode to activate APF.
adb_utils.set_doze_mode(self.clientDevice, True)