Skip to content

[test] Wait for server tag cleanup#3705

Open
litiliu wants to merge 1 commit into
apache:mainfrom
litiliu:codex/wait-server-tag-removal
Open

[test] Wait for server tag cleanup#3705
litiliu wants to merge 1 commit into
apache:mainfrom
litiliu:codex/wait-server-tag-removal

Conversation

@litiliu

@litiliu litiliu commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #3704

FlussAuthorizationITCase.testAddServerTag returned before its asynchronous server-tag cleanup completed. A subsequent test could therefore observe only two available tablet servers and fail while creating a replication-factor-3 table.

Brief change log

  • Wait for removeServerTag(...) to complete before testAddServerTag returns.
  • Ensure PERMANENT_OFFLINE state cannot leak into subsequent test setup.

Tests

  • ./mvnw -pl fluss-client -am -Dtest=FlussAuthorizationITCase#testAddServerTag+testListDatabases -Dsurefire.failIfNoSpecifiedTests=false test

API and Format

No API or storage-format changes.

Documentation

No documentation changes; this only fixes test cleanup synchronization.

Generative AI disclosure

  • Yes

Generated-by: OpenAI Codex following the guidelines (https://github.com/apache/fluss/blob/main/AGENTS.md)

@litiliu
litiliu marked this pull request as ready for review July 20, 2026 09:48
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] FlussAuthorizationITCase leaks server tag state

1 participant