jnh5y opened a new pull request, #28224:
URL: https://github.com/apache/flink/pull/28224

   ## What is the purpose of the change
   
   Fix flaky `CorrelateRestoreTest.testRestore[8]` 
(`CORRELATE_WITH_LITERAL_AGG`) by switching from changelog sequence assertion 
to materialized data assertion.
   
   ## Brief change log
   
   - Changed `CORRELATE_WITH_LITERAL_AGG` test program sink from 
`consumedBeforeRestore()`/changelog mode to `consumedValues()` + 
`testMaterializedData()`, checking final materialized state `[+I[2], +I[3]]` 
instead of exact changelog ordering.
   
   ## Verifying this change
   
   This change only modifies test infrastructure. The fix addresses 
non-deterministic record interleaving in the multi-source streaming plan (3 
sources → InnerJoin + LeftOuterJoin + SemiJoin) that causes intermittent test 
failures.
   
   The `testMaterializedData()` pattern is already used by 
`MultiJoinTestPrograms` and `DeltaJoinTestPrograms` for the same class of 
non-determinism.
   
   Generated-by: Claude Code (claude-opus-4-6)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to