Skip to content

Add spec for Timeout.timeout with negative duration argument#1269

Merged
andrykonchin merged 1 commit into
ruby:masterfrom
herwinw:timeout_negative_sec
May 29, 2025
Merged

Add spec for Timeout.timeout with negative duration argument#1269
andrykonchin merged 1 commit into
ruby:masterfrom
herwinw:timeout_negative_sec

Conversation

@herwinw
Copy link
Copy Markdown
Member

@herwinw herwinw commented May 28, 2025

References #1265

@herwinw herwinw force-pushed the timeout_negative_sec branch from 50478a8 to b732dba Compare May 29, 2025 05:30
@andrykonchin
Copy link
Copy Markdown
Member

Thank you!

@andrykonchin andrykonchin merged commit e0522fe into ruby:master May 29, 2025
12 checks passed
@andrykonchin
Copy link
Copy Markdown
Member

andrykonchin commented May 29, 2025

Looking at the implementation there may be value in additional cases for timeout argument being 0 or nil.

@herwinw herwinw deleted the timeout_negative_sec branch May 29, 2025 11:27
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