mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/wifi_power_save_got_ip_time' into 'master'
ci: increase test_wifi_power_save got ip timeout Closes IDFCI-2379, IDFCI-2122, and IDFCI-2132 See merge request espressif/esp-idf!33538
This commit is contained in:
commit
b435473323
@ -8,7 +8,7 @@ from common_test_methods import get_env_config_variable
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
bad_event_str = [
|
bad_event_str = [
|
||||||
'bcn_timout',
|
'bcn_timeout',
|
||||||
'm f probe req l',
|
'm f probe req l',
|
||||||
'abort() was called',
|
'abort() was called',
|
||||||
'Guru Meditation Error',
|
'Guru Meditation Error',
|
||||||
@ -30,7 +30,7 @@ def _run_test(dut: Dut) -> None:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
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()
|
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):
|
if any(s in log_after_got_ip for s in bad_event_str):
|
||||||
logging.info('Abnormal connection log:')
|
logging.info('Abnormal connection log:')
|
||||||
|
Loading…
Reference in New Issue
Block a user