Merge branch 'ci/esp_intr_dump_qemu_timeout' into 'master'

ci(qemu): increase timeout for esp_intr_dump test

Closes IDFCI-2225

See merge request espressif/esp-idf!31732
This commit is contained in:
Marius Vikhammer 2024-06-28 14:24:20 +08:00
commit be05548666

View File

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import os
@ -12,7 +12,7 @@ PROMPT = 'test_intr_dump>'
@pytest.mark.qemu
@pytest.mark.host_test
def test_esp_intr_dump_nonshared(dut: Dut) -> None:
dut.expect_exact(PROMPT, timeout=10)
dut.expect_exact(PROMPT, timeout=30)
dut.write('intr_alloc GPIO LEVEL3\n')
dut.expect_exact('Allocated GPIO LEVEL3')
@ -26,7 +26,7 @@ def test_esp_intr_dump_nonshared(dut: Dut) -> None:
@pytest.mark.qemu
@pytest.mark.host_test
def test_esp_intr_dump_shared(dut: Dut) -> None:
dut.expect_exact(PROMPT, timeout=10)
dut.expect_exact(PROMPT, timeout=30)
dut.write('intr_alloc GPIO SHARED\n')
dut.expect_exact('Allocated GPIO SHARED')
@ -50,7 +50,7 @@ def test_esp_intr_dump_shared(dut: Dut) -> None:
@pytest.mark.supported_targets
@pytest.mark.generic
def test_esp_intr_dump_expected_output(dut: Dut) -> None:
dut.expect_exact(PROMPT, timeout=10)
dut.expect_exact(PROMPT, timeout=30)
dut.write('intr_dump\n')
exp_out_file = os.path.join(os.path.dirname(__file__), 'expected_output', f'{dut.target}.txt')
for line in open(exp_out_file, 'r').readlines():