Skip to content

Commit

Permalink
Add assertion for managed resources
Browse files Browse the repository at this point in the history
Signed-off-by: Sergen Yalçın <[email protected]>
  • Loading branch information
sergenyalcin committed Aug 29, 2024
1 parent 0c0915f commit 46dcd67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/templates/03-delete.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ spec:
for:
deletion: {}
{{- end }}
{{- if not .TestCase.OnlyCleanUptestResources }}
- script:
content: |
${KUBECTL} wait managed --all --for=delete --timeout -1s
{{- end }}
{{- if .TestCase.TeardownScriptPath }}
- command:
entrypoint: {{ .TestCase.TeardownScriptPath }}
Expand Down

0 comments on commit 46dcd67

Please sign in to comment.