Skip to content

Commit

Permalink
Merge pull request #7501 from xoriole/fix/gui-test-crash
Browse files Browse the repository at this point in the history
Fix GUI Test non-zero exit code
  • Loading branch information
xoriole committed Jun 26, 2023
2 parents adb9a8c + 0803a10 commit 2723e7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tribler/gui/tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ def fixture_window(tmp_path_factory):

window.close_tribler()
screenshot(window, name="tribler_closing")

# Before quitting the application, wait for max 10 seconds until the core process has successfully finished
# Otherwise, process exits with non-zero exit code.
# See: https://github.com/Tribler/tribler/issues/7500
wait_for_signal(window.core_manager.core_process.finished, timeout=10)
app_manager.quit_application()


Expand Down

0 comments on commit 2723e7b

Please sign in to comment.