Skip to content

[test] chore: fix flaky RemoteLogScannerITCase#3002

Open
fresh-borzoni wants to merge 1 commit intoapache:mainfrom
fresh-borzoni:fix-flaky-remote-log-scanner-test
Open

[test] chore: fix flaky RemoteLogScannerITCase#3002
fresh-borzoni wants to merge 1 commit intoapache:mainfrom
fresh-borzoni:fix-flaky-remote-log-scanner-test

Conversation

@fresh-borzoni
Copy link
Copy Markdown
Contributor

@fresh-borzoni fresh-borzoni commented Apr 4, 2026

Summary

closes #2992

Collect records and assert with containsExactlyInAnyOrderElementsOf, same pattern used in testScanFromRemote

@fresh-borzoni fresh-borzoni changed the title [test] chore: fix flaky /RemoteLogScannerITCase [test] chore: fix flaky RemoteLogScannerITCase Apr 4, 2026
@wuchong wuchong requested review from Copilot and swuferhong April 7, 2026 06:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes flakiness in RemoteLogScannerITCase.testScanFromRemoteAndProject by making assertions order-insensitive when scanning projected rows from remote log segments (addressing #2992).

Changes:

  • Collects scanned records into a list and asserts using containsExactlyInAnyOrderElementsOf for projection [a, c].
  • Applies the same order-insensitive assertion approach for reordered projection [c, a].
  • Adds explicit expected-row lists (expectedRowsAC, expectedRowsCA) to validate both projections deterministically.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

[test] Unstable test RemoteLogScannerITCase.testScanFromRemoteAndProject

2 participants