Skip to content

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

Merged
luoyuxia merged 1 commit into
apache:mainfrom
Dream95:fix_3410
Jun 10, 2026
Merged

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

Conversation

@Dream95

@Dream95 Dream95 commented May 31, 2026

Copy link
Copy Markdown
Contributor

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.

@luoyuxia luoyuxia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks. +1

@luoyuxia luoyuxia merged commit b7338dd into apache:main Jun 10, 2026
7 checks passed
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

2 participants