Skip to content

Commit

Permalink
Merge branch 'fix/incorrect_connection_closure_parttool_test' into 'm…
Browse files Browse the repository at this point in the history
…aster'

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

Closes IDFCI-2122

See merge request espressif/esp-idf!30219
mahavirj committed Apr 16, 2024
2 parents d3e45fa + f07db4e commit 636ff35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/storage/parttool/pytest_parttool_example.py
Original file line number Diff line number Diff line change
@@ -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
import subprocess
@@ -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')

0 comments on commit 636ff35

Please sign in to comment.