hashgraph / hashgraph/full-stack-testing

Helm temporary directory is not cleaned up.

オープン
#964 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bug Pending Triage
主要言語
Java
スター
9
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。