redhat-developer / redhat-developer/vscode-openshift-tools
`deleteProject()` test for `odo.ts` is not properly torn down
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 123
- Forks
- 63
- Avg merge
- 6h 16m
- Merged PRs (30d)
- 74
Description
In the case that the test namespace my-test-project-3 already exists, the test will fail. The code does not attempt to remove this namespace in the setup or the teardown code. This also means that if deleting the project failed at some point, the namespace will remain on the cluster, and all future runs of this test case will fail.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the deleteProject() test in odo.ts and inspect its setup and teardown handling for the my-test-project-3 namespace. Verify the test behavior when the namespace already exists, then confirm the namespace is removed after failures and that repeated test runs pass without leftover cluster resources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, typescript
- Domain
- devops, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100