kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'fix/incorrect_connection_closure_parttool_test' into 'master'
ci(otatool): fix test failure caused due to closing connection incorrectly Closes IDFCI-2122 See merge request espressif/esp-idf!30219pull/13651/head
commit
636ff35b52
|
@ -1,4 +1,4 @@
|
||||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -16,8 +16,7 @@ def test_examples_parttool(dut: Dut) -> None:
|
||||||
dut.expect('Example end')
|
dut.expect('Example end')
|
||||||
|
|
||||||
# Close connection to DUT
|
# Close connection to DUT
|
||||||
dut.pexpect_proc.terminate()
|
dut.serial.close()
|
||||||
dut.serial.stop_redirect_thread()
|
|
||||||
|
|
||||||
# Run the example python script
|
# Run the example python script
|
||||||
idf_path = os.getenv('IDF_PATH')
|
idf_path = os.getenv('IDF_PATH')
|
||||||
|
|
Ładowanie…
Reference in New Issue