Merge branch 'fix/incorrect_connection_closure_parttool_test_v5.2' into 'release/v5.2'

ci(otatool): fix test failure caused due to closing connection incorrectly (v5.2)

See merge request espressif/esp-idf!30291
pull/13890/head
Mahavir Jain 2024-04-18 11:55:17 +08:00
commit 082c713069
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -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
import os
@ -16,8 +16,7 @@ def test_examples_parttool(dut: Dut) -> None:
dut.expect('Example end')
# Close connection to DUT
dut.pexpect_proc.terminate()
dut.serial.stop_redirect_thread()
dut.serial.close()
# Run the example python script
idf_path = os.getenv('IDF_PATH')