(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
@@ -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
