Skip to content

Make forked test inactivity timer more robust - #6

Merged
plicease merged 2 commits into
mainfrom
graham/forked-test-timeout
Oct 6, 2026
Merged

plicease merged 2 commits into
mainfrom
graham/forked-test-timeout

Conversation

@plicease

@plicease plicease commented Oct 6, 2026

Copy link
Copy Markdown
Member

Reset the inactivity timer on input as well as on new connections, and raise the limit from 5 to 30 seconds. On FreeBSD with AnyEvent (RT#125351) the timer fired ~5s after startup in the middle of a run, even though a normal run takes ~10s.

plicease and others added 2 commits October 6, 2026 02:58
Reset the inactivity timer on input as well as on new connections,
and raise the limit from 5 to 30 seconds.  On FreeBSD with
AnyEvent (RT#125351) the timer fired ~5s after startup in the
middle of a run, even though a normal run takes ~10s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Event only hooks in Time::HiRes when Event::import is called, so
loading it with a bare require left timers with one second
granularity.  This made t/forked1.t take ~100s instead of ~10s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@plicease
plicease force-pushed the graham/forked-test-timeout branch from 44a48cc to 4ec0643 Compare October 6, 2026 09:00
@plicease
plicease merged commit 25f8d6a into main Oct 6, 2026
40 of 41 checks passed
@plicease
plicease deleted the graham/forked-test-timeout branch October 6, 2026 09:08
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