feat(openthread): flush ipv6 addr in openthread ci cases

This commit is contained in:
yiwenxiu
2024-11-14 14:55:33 +08:00
parent 8ada381d9e
commit b9bc6d9290
2 changed files with 22 additions and 2 deletions

View File

@@ -74,8 +74,8 @@ def fixture_Init_avahi() -> bool:
@pytest.fixture(name='Init_interface')
def fixture_Init_interface() -> bool:
print('Init interface')
ocf.init_interface_ipv6_address()
ocf.reset_host_interface()
ocf.flush_ipv6_addr_by_interface()
# The sleep time is set based on experience; reducing it might cause the host to be unready.
time.sleep(30)
ocf.set_interface_sysctl_options()
return True