Skip to content

[test] Delete temp dir after cluster shutdown in FlussClusterExtension#3411

Open
Dream95 wants to merge 1 commit into
apache:mainfrom
Dream95:fix_3410
Open

[test] Delete temp dir after cluster shutdown in FlussClusterExtension#3411
Dream95 wants to merge 1 commit into
apache:mainfrom
Dream95:fix_3410

Conversation

@Dream95
Copy link
Copy Markdown

@Dream95 Dream95 commented May 31, 2026

Purpose

Linked issue: close #3410

Brief change log

  • Move temp directory deletion in FlussClusterExtension.close() to after tablet servers, coordinator server, and ZooKeeper are all shut down.
  • Replace tempDir.delete() with FileUtils.deleteDirectoryQuietly(tempDir) to recursively delete non-empty directories.

Tests

  • Run ./mvnw clean verify -pl fluss-server .
  • After test pass, no fluss-testing-cluster-* directories remain.

API and Format

No API changes.

Documentation

No documentation changes.

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.

Tests leave temporary files after execution

1 participant