hashgraph / hashgraph/full-stack-testing

Helm temporary directory is not cleaned up.

Đang mở
#964 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bug Pending Triage
Ngôn ngữ chính
Java
Star
9
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.