You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/10/07 03:48:10 UTC
[camel-k] 08/13: (e2e): Modify error of operator uninstall to warning
This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 70e731405f46bb21113d79131b6c73700c8b186e
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Wed Sep 28 12:05:06 2022 +0100
(e2e): Modify error of operator uninstall to warning
* If operator is not uninstalled successfully then provide a warning
rather than throw an error as we want to try to keep the tests going
---
.github/actions/kamel-cleanup/uninstall-global-operator.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/actions/kamel-cleanup/uninstall-global-operator.sh b/.github/actions/kamel-cleanup/uninstall-global-operator.sh
index ba02a9089..94bec52f0 100755
--- a/.github/actions/kamel-cleanup/uninstall-global-operator.sh
+++ b/.github/actions/kamel-cleanup/uninstall-global-operator.sh
@@ -108,8 +108,8 @@ while eval "${command}"
do
((i++))
if [ "${i}" -gt "${timeout}" ]; then
- echo "kamel operator not successfully uninstalled, aborting due to ${timeout}s timeout"
- exit 1
+ echo "Warning: kamel operator not successfully uninstalled, aborting due to ${timeout}s timeout"
+ exit 0
fi
sleep 1