hashgraph / hashgraph/full-stack-testing

Helm temporary directory is not cleaned up.

未关闭
#964 0 条评论 0 个 reaction 已指派 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.

贡献指南

打开贡献指南

调研方向

Locate the Helm client and the code that extracts the executable into the temporary directory; inspect how File::deleteOnExit and the suggested AutoCloseable close() behavior apply. Reproduce the issue with the Helm client, then verify that its temporary directory and executable are removed after use.

由索引模型根据 Issue 内容生成。

评估

技术栈
helm, java
领域
devops, testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。