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 t.timeout.clear() to restore default behavior #3221

Merged
merged 2 commits into from
Jul 3, 2023
Merged

Conversation

novemberborn
Copy link
Member

With straight-forward tests, this could be implemented through t.try() which each block having a different timeout. However with more complicated test harnesses like in #3218 this is difficult. Having the ability to clear the timeout for the remainder of the test is quite useful.

@novemberborn novemberborn merged commit 10e2e8a into main Jul 3, 2023
@novemberborn novemberborn deleted the t-timeout-clear branch July 3, 2023 13:46
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.

1 participant