Fix Flaky Merge Test#12046
Conversation
|
Claude finished @svlachakis's task in 1m 16s —— View job PR Review: Fix Flaky Merge Test
SummaryThis is a clean, minimal fix for a real race condition. The change mirrors the existing pattern already used for the first block in the same test and is correct. AnalysisRoot cause of the flakiness — the original code called The fix subscribes to the The added null-check with a per-iteration message ( FindingsLow — No correctness, security, or performance issues. The fix is sound. Verdict: Approved — mergeable. |
Test-only fix for a flaky CI test (
Cannot_produce_bad_blocks). It was occasionally failing with aNullReferenceExceptionbecause it asked for the second produced block before block production had finished, getting back null. The fix waits for the block to be produced (and null-checks it) before using it - same pattern the test already uses for the first block.