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 Windows GUI tests #7141

Merged
merged 1 commit into from
Nov 4, 2022
Merged

Fix Windows GUI tests #7141

merged 1 commit into from
Nov 4, 2022

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Nov 2, 2022

@drew2a drew2a marked this pull request as ready for review November 2, 2022 16:45
@drew2a drew2a requested review from a team and kozlovsky and removed request for a team November 2, 2022 16:45
@drew2a drew2a marked this pull request as draft November 2, 2022 16:45
@drew2a drew2a marked this pull request as ready for review November 2, 2022 16:53
@drew2a drew2a force-pushed the fix/7132 branch 2 times, most recently from c9e178d to 3504723 Compare November 3, 2022 19:11
@@ -14,7 +14,7 @@ on:
required: false

enable-profiling:
default: true
default: false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose that the problem is solved, and that is why profiling for GUI tests has been disabled.

Comment on lines +28 to +30
defaults:
run:
shell: bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix for Windows GUI tests.
Without it, the wrong env had been used and this led to the execution of the whole test suite.

@drew2a drew2a changed the title Setup headless display for all OS Fix Windows GUI tests Nov 3, 2022
@@ -8,7 +8,7 @@ def pytest_addoption(parser):

def pytest_collection_modifyitems(config, items):
for item in items:
item.add_marker(pytest.mark.timeout(30))
item.add_marker(pytest.mark.timeout(60))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix that should solve the timeout problem.

@drew2a drew2a requested a review from kozlovsky November 3, 2022 19:17
@drew2a drew2a merged commit fa4ab6b into Tribler:main Nov 4, 2022
@drew2a drew2a deleted the fix/7132 branch November 4, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Tests] Timeout in Windows GUI tests
2 participants