hashgraph / hashgraph/full-stack-testing

Helm temporary directory is not cleaned up.

Open
#964 0 comments 0 reactions 0 assignees View on GitHub
Bug Pending Triage
Dominant language
Java
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### Bill of Materials or CLI Version

_No response_

### Execution Environment

JUnit Extensions

### Slf4j Logging Implementation

None

### To Reproduce

```markdown
Use the helm client and notice it leaves temporary directories around with the helm executable in each.
```

### Describe the bug

The helm client extracts the helm executable to a temporary directory, and this temporary directory is not cleaned up.

### Describe the expected behavior

The temporary directory should be cleaned up.

Would be nice if client implemented `AutoCloseable` and cleaned up after itself inside `close()`.

### Whole JUnit/CLI Logs

```shell
N/A
```

### Additional Context

Example directory name is `HelmSoftwareLoader4512790602684642253` and it contains the helm executable.

The issue may be that File::deleteOnExit fails to remove a non-empty directory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.