Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(api): add resource deletion step in e2e test cases #512

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hardcoretime
Copy link
Contributor

@hardcoretime hardcoretime commented Nov 10, 2024

  • exclude namespace in resource deletion step;
  • refactor apply and delete kubectl commands;
  • handle errors in clean up phase;
  • add resource deletion step in each test case.

Description

When test case is completed it's resources should be deleted.

Why do we need it, and what problem does it solve?

To catch errors when virtualization resources cannot be deleted correctly.

What is the expected result?

All resources in E2E tests should be deleted correctly in each test case.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

- exclude namespace in resource deletion step;
- refactor `apply` and `delete` kubectl commands;
- handle errors in clean up phase;
- add resource deletion step in each test case.

Signed-off-by: Roman Sysoev <[email protected]>
@hardcoretime hardcoretime force-pushed the test/api/resource-deletion-step-in-e2e-tests branch from a3ada25 to bde4c17 Compare November 11, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant