Skip to content

[CRE] fix flaky TestLogEventProvider_ScheduleReadJobs tests (CRE-3918…#22210

Draft
Tofel wants to merge 1 commit intodevelopfrom
fix-flaky-CRE-2025-04-28-3-1
Draft

[CRE] fix flaky TestLogEventProvider_ScheduleReadJobs tests (CRE-3918…#22210
Tofel wants to merge 1 commit intodevelopfrom
fix-flaky-CRE-2025-04-28-3-1

Conversation

@Tofel
Copy link
Copy Markdown
Contributor

@Tofel Tofel commented Apr 28, 2026

…, CRE-3920)

Remove racy default: busy-spin from readLoop that could exit before the buffered reads channel was fully drained, causing non-deterministic require.Len failures. Replace with a blocking select and a post-loop drainLoop to flush any remaining buffered batches before assertions.

…, CRE-3920)

Remove racy default: busy-spin from readLoop that could exit before the
buffered reads channel was fully drained, causing non-deterministic
require.Len failures. Replace with a blocking select and a post-loop
drainLoop to flush any remaining buffered batches before assertions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 28, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@cl-sonarqube-production
Copy link
Copy Markdown

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