Skip to content

Remove timing on interrupt test #584

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

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Remove timing on interrupt test #584

merged 1 commit into from
Dec 20, 2024

Conversation

JakeWharton
Copy link
Owner

We don't really need to know how long the read took, just that it was interrupted. Testing for time ensures that it didn't just return instantly, but we'll be okay without it. The test will hang forever if it can't be interrupted.

Closes #577


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

We don't really need to know how long the read took, just that it was interrupted. Testing for time ensures that it didn't just return instantly, but we'll be okay without it. The test will hang forever if it can't be interrupted.
@JakeWharton JakeWharton enabled auto-merge (squash) December 20, 2024 04:45
@JakeWharton JakeWharton merged commit d33def7 into trunk Dec 20, 2024
12 checks passed
@JakeWharton JakeWharton deleted the jw.no-time.2024-12-19 branch December 20, 2024 04:59
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.

StdinReaderTest.readCanBeInterrupted is flaky
1 participant