Skip to content

Commit

Permalink
Clean up test namespace (#852)
Browse files Browse the repository at this point in the history
SUMMARY

The helm_set_values test target did not clean up its namespace which is leading to unstable tests in the k8s_drain target.

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis
Reviewed-by: Yuriy Novostavskiy
  • Loading branch information
gravesm authored Jan 17, 2025
1 parent 159a63a commit 9f60b15
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/targets/helm_set_values/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,11 @@
file:
state: absent
path: "{{ ymlfile.path }}"
ignore_errors: true

- name: Delete namespace
k8s:
state: absent
kind: namespace
name: "{{ helm_namespace }}"
ignore_errors: true

0 comments on commit 9f60b15

Please sign in to comment.