Skip to content

[CRE] fix flaky TestComputeFetch and TestIntegration_LLO_tombstone tests#22207

Draft
Tofel wants to merge 1 commit intodevelopfrom
fix-flaky-CRE-2026-04-28-2
Draft

[CRE] fix flaky TestComputeFetch and TestIntegration_LLO_tombstone tests#22207
Tofel wants to merge 1 commit intodevelopfrom
fix-flaky-CRE-2026-04-28-2

Conversation

@Tofel
Copy link
Copy Markdown
Contributor

@Tofel Tofel commented Apr 28, 2026

TestComputeFetch / TestComputeFetchMaxResponseSizeBytes: replace require.NoError with assert.NoError in mock Run callbacks that execute inside worker goroutines. require.FailNow terminates the goroutine via runtime.Goexit, starving the response channel and causing spurious context-canceled hangs. Fixes CRE-3923.

TestIntegration_LLO_tombstone_stops_observations_and_reports: remove t.Parallel() to prevent OOM kills on CI (5 full nodes + DBs per test, concurrent execution exhausts memory before the first assertion). Also increase post-tombstone sleep 1s→3s to give in-flight pipeline executions time to complete before the bridge-call count is snapshotted. Fixes CRE-3921.

TestComputeFetch / TestComputeFetchMaxResponseSizeBytes: replace
require.NoError with assert.NoError in mock Run callbacks that execute
inside worker goroutines. require.FailNow terminates the goroutine via
runtime.Goexit, starving the response channel and causing spurious
context-canceled hangs. Fixes CRE-3923.

TestIntegration_LLO_tombstone_stops_observations_and_reports: remove
t.Parallel() to prevent OOM kills on CI (5 full nodes + DBs per test,
concurrent execution exhausts memory before the first assertion).
Also increase post-tombstone sleep 1s→3s to give in-flight pipeline
executions time to complete before the bridge-call count is snapshotted.
Fixes CRE-3921.

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