Skip to content

Avoid a blocking Task.WaitAny(), which may contribute to intermittent CI test failures when thread count is low - #485

Open
nblumhardt-ro wants to merge 1 commit into
datalust:devfrom
nblumhardt-ro:avoid-blocked-thread
Open

Avoid a blocking Task.WaitAny(), which may contribute to intermittent CI test failures when thread count is low#485
nblumhardt-ro wants to merge 1 commit into
datalust:devfrom
nblumhardt-ro:avoid-blocked-thread

Conversation

@nblumhardt-ro

Copy link
Copy Markdown

We've been hitting intermittent timeouts in SeqCli.Tests.PlainText.FrameReaderTests.CollectsTrailingLines; this is a speculative fix attempt based on digging around with Claude. If no thread pool thread is available to pick up the pending task, .NET will take a little while to spin one up, exceeding the (otherwise reasonable) 100ms deadline imposed by the tests.

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