Skip to content

Commit

Permalink
ci(otatool): fix test failure caused due to closing connection incorr…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
Harshal5 committed Apr 15, 2024
1 parent 4a94f9b commit f07db4e
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
Expand All @@ -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')
Expand Down

0 comments on commit f07db4e

Please sign in to comment.