From 353c1ea77edba0ea04eebeb6338751c0008d540f Mon Sep 17 00:00:00 2001 From: Chen Yudong Date: Sat, 14 Sep 2024 11:26:54 +0800 Subject: [PATCH] ci: increase test_wifi_power_save got ip timeout --- examples/wifi/power_save/pytest_wifi_power_save.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/wifi/power_save/pytest_wifi_power_save.py b/examples/wifi/power_save/pytest_wifi_power_save.py index 1058268fc3..c5eb2bfb22 100644 --- a/examples/wifi/power_save/pytest_wifi_power_save.py +++ b/examples/wifi/power_save/pytest_wifi_power_save.py @@ -8,7 +8,7 @@ from common_test_methods import get_env_config_variable from pytest_embedded import Dut bad_event_str = [ - 'bcn_timout', + 'bcn_timeout', 'm f probe req l', 'abort() was called', 'Guru Meditation Error', @@ -30,7 +30,7 @@ def _run_test(dut: Dut) -> None: pass try: - dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=20) + dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30) log_after_got_ip = dut.expect(pexpect.TIMEOUT, timeout=10).decode() if any(s in log_after_got_ip for s in bad_event_str): logging.info('Abnormal connection log:')