Skip to content

[CI] Wait for table metadata in authorization test - #3875

Open
litiliu wants to merge 1 commit into
apache:mainfrom
litiliu:codex/fluss-3747-wait-table-metadata
Open

[CI] Wait for table metadata in authorization test#3875
litiliu wants to merge 1 commit into
apache:mainfrom
litiliu:codex/fluss-3747-wait-table-metadata

Conversation

@litiliu

@litiliu litiliu commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #3747

FlussAuthorizationITCase.testDescribeTableOperation can call listOffsets after the bucket replica is online but before the TabletServer metadata cache contains the table ID. The authorization check then fails with UnknownTableOrBucketException instead of exercising the intended ACL behavior.

Brief change log

  • Wait for bucket 0 replicas and TabletServer table metadata to become ready before running the describe-table authorization assertions.
  • Keep the synchronization local to the affected test.

Tests

  • ./mvnw -pl fluss-client -am -Dtest=FlussAuthorizationITCase#testDescribeTableOperation -Dsurefire.failIfNoSpecifiedTests=false test
  • git diff --check

API and Format

No API or storage format changes.

Documentation

No documentation changes.

Wait until the relevant table bucket replicas and TabletServer metadata caches are ready before exercising listOffsets authorization.
@litiliu
litiliu marked this pull request as ready for review August 6, 2026 04:21
@litiliu litiliu changed the title [test] Wait for table metadata in authorization test [CI] Wait for table metadata in authorization test Aug 6, 2026
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 FlussAuthorizationITCase.testDescribeTableOperation

1 participant