We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4143156 commit 2833b44Copy full SHA for 2833b44
examples/wifi/power_save/pytest_wifi_power_save.py
@@ -1,6 +1,5 @@
1
# SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
2
# SPDX-License-Identifier: Apache-2.0
3
-
4
import logging
5
6
import pexpect
@@ -9,7 +8,7 @@
9
8
from pytest_embedded import Dut
10
11
bad_event_str = [
12
- 'bcn_timout',
+ 'bcn_timeout',
13
'm f probe req l',
14
'abort() was called',
15
'Guru Meditation Error',
@@ -31,7 +30,7 @@ def _run_test(dut: Dut) -> None:
31
30
pass
32
33
try:
34
- dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=20)
+ dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)
35
log_after_got_ip = dut.expect(pexpect.TIMEOUT, timeout=10).decode()
36
if any(s in log_after_got_ip for s in bad_event_str):
37
logging.info('Abnormal connection log:')
0 commit comments