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

Improve handling of timeouts in tests #2890

Merged
merged 4 commits into from
Oct 31, 2023
Merged

Conversation

sairon
Copy link
Member

@sairon sairon commented Oct 31, 2023

Make timeout handling in tests more transparent. Added a custom shell driver that allows to define global timeout for commands in the config file, and replaced for/sleep constructs with infinite loops that will be eventually terminated by pytest-timeout plugin. Current timeouts taken from last runs on Github CI with some extra headroom.

@sairon sairon added the build Build and CI related issues label Oct 31, 2023
@sairon sairon requested a review from agners October 31, 2023 12:54
Make timeout handling in tests more transparent. Added a custom shell
driver that allows to define global timeout for commands in the config
file, and replaced for/sleep constructs with infinite loops that will be
eventually terminated by pytest-timeout plugin. Current timeouts taken
from last runs on Github CI with some extra headroom.
@sairon sairon force-pushed the improve-tests-timeout-handling branch from 0fba315 to 27603a0 Compare October 31, 2023 13:12
@agners agners merged commit 2888ccf into dev Oct 31, 2023
3 checks passed
@agners agners deleted the improve-tests-timeout-handling branch October 31, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build and CI related issues cla-signed hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants