summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfisherxu <fisherxu1@gmail.com>2023-07-25 21:30:57 +0800
committerfisherxu <xufei40@huawei.com>2023-07-25 22:16:54 +0800
commita5cc6e3b8bba75524bfc0ff8c647ebfbfd573a6e (patch)
treea12eeb67da669c862565cce30a249160edebdcc9 /tests
parentMerge pull request #4863 from Shelley-BaoYue/OWNERS (diff)
downloadkubeedge-a5cc6e3b8bba75524bfc0ff8c647ebfbfd573a6e.tar.gz
fix keadm ci failed issue
Signed-off-by: fisherxu <fisherxu1@gmail.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/scripts/keadm_e2e.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/scripts/keadm_e2e.sh b/tests/scripts/keadm_e2e.sh
index 17acd421a..a08e79057 100755
--- a/tests/scripts/keadm_e2e.sh
+++ b/tests/scripts/keadm_e2e.sh
@@ -59,6 +59,10 @@ function build_image() {
# load image to test cluster
kind load docker-image docker.io/kubeedge/cloudcore:$IMAGE_TAG --name test
kind load docker-image docker.io/kubeedge/installation-package:$IMAGE_TAG --name test
+
+ set +e
+ docker rmi $(docker images -f "dangling=true" -q)
+ set -Ee
}
function start_kubeedge() {
@@ -111,7 +115,7 @@ function run_test() {
set -Ee
trap cleanup EXIT
-trap cleanup ERR
+#trap cleanup ERR
echo -e "\nBuilding ginkgo test cases..."
build_ginkgo