Skip to content

Commit 00cd226

Browse files
ydhubesp-wzh
authored andcommitted
ci: increase test_wifi_power_save got ip timeout
1 parent 7563ae5 commit 00cd226

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/wifi/power_save/pytest_wifi_power_save.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
1+
# SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
22
# SPDX-License-Identifier: Apache-2.0
3-
43
import logging
54

65
import pexpect
@@ -9,7 +8,7 @@
98
from pytest_embedded import Dut
109

1110
bad_event_str = [
12-
'bcn_timout',
11+
'bcn_timeout',
1312
'm f probe req l',
1413
'abort() was called',
1514
'Guru Meditation Error',
@@ -31,7 +30,7 @@ def _run_test(dut: Dut) -> None:
3130
pass
3231

3332
try:
34-
dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=20)
33+
dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)
3534
log_after_got_ip = dut.expect(pexpect.TIMEOUT, timeout=10).decode()
3635
if any(s in log_after_got_ip for s in bad_event_str):
3736
logging.info('Abnormal connection log:')

0 commit comments

Comments
 (0)