Skip to content

Commit 62fa834

Browse files
authored
Fix: ignore issues with kind delete cluster (#967)
1 parent 315c456 commit 62fa834

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/test-check-packages.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ cleanup() {
1313
kubectl describe pods --all-namespaces > build/kubectl-dump.txt
1414
kubectl logs -l app=elastic-agent -n kube-system >> build/kubectl-dump.txt
1515

16-
# Take down the kind cluster
17-
kind delete cluster
16+
# Take down the kind cluster.
17+
# Sometimes kind has troubles with deleting the cluster, but it isn't an issue with elastic-package.
18+
# As it causes flaky issues on the CI side, let's ignore it.
19+
kind delete cluster || true
1820
fi
1921

2022
# Take down the stack

0 commit comments

Comments
 (0)