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

Add timeout to MDANSE unit tests #685

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

MBartkowiakSTFC
Copy link
Collaborator

Description of work

Following the discussion of #673 we add timeout to unit tests.

Fixes
Added pytest-timeout to the workflow.
Set tests timeout in pyproject.toml.

To test
Tests should pass same as before.

Copy link
Collaborator

@oerc0122 oerc0122 left a comment

Choose a reason for hiding this comment

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

The problem, of course, being that this is an intermittent failure not limited to any particular Python version.

Doesn't seem to have happened, but at worst this should be a slight preventative measure which should allow us to find out what's actually going on.

@MBartkowiakSTFC MBartkowiakSTFC merged commit 1d4d39c into protos Feb 27, 2025
38 checks passed
@MBartkowiakSTFC MBartkowiakSTFC deleted the maciej/add-test-timeout branch February 27, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants