Skip to content

Remove hypothesis timeout deadlines; flaky on CI#3849

Merged
MridulS merged 4 commits intoscipp:mainfrom
MridulS:fix/remove-flaky-tests
Feb 19, 2026
Merged

Remove hypothesis timeout deadlines; flaky on CI#3849
MridulS merged 4 commits intoscipp:mainfrom
MridulS:fix/remove-flaky-tests

Conversation

@MridulS
Copy link
Copy Markdown
Member

@MridulS MridulS commented Feb 18, 2026

Cherry picked from #3847

@MridulS MridulS enabled auto-merge (squash) February 18, 2026 09:44


@settings(max_examples=1000, deadline=1000)
@settings(max_examples=1000, deadline=None)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Instead of just setting None, should we extend it by a factor of 5 or 10?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That's fine by me too, by default it's None for CI runs https://hypothesis.readthedocs.io/en/latest/reference/api.html#hypothesis.settings.deadline but if we use defaults it gets 200ms for local runs which isn't enough.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok for using None then. You decide 😉

@MridulS MridulS merged commit 89e0536 into scipp:main Feb 19, 2026
4 checks passed
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