Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GUI Test non-zero exit code #7501

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
xoriole marked this conversation as resolved.
Show resolved Hide resolved
app_manager.quit_application()


Expand Down
Loading