From ac2c25212f58b9307c4a1bde6ce21d71e0b1aef5 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Mon, 27 Apr 2020 16:06:43 +0800 Subject: [PATCH] Wait for helm uninstall chart (#2142) Signed-off-by: quicksilver --- ci/jenkins/step/shardsDevNightlyTest.groovy | 1 + ci/jenkins/step/singleDevNightlyTest.groovy | 2 ++ ci/jenkins/step/singleDevTest.groovy | 1 + 3 files changed, 4 insertions(+) diff --git a/ci/jenkins/step/shardsDevNightlyTest.groovy b/ci/jenkins/step/shardsDevNightlyTest.groovy index 14899752bb..840e645faa 100644 --- a/ci/jenkins/step/shardsDevNightlyTest.groovy +++ b/ci/jenkins/step/shardsDevNightlyTest.groovy @@ -13,6 +13,7 @@ timeout(time: 180, unit: 'MINUTES') { def helmResult = sh script: "helm status -n milvus ${env.SHARDS_HELM_RELEASE_NAME}", returnStatus: true if (!helmResult) { sh "helm uninstall -n milvus ${env.SHARDS_HELM_RELEASE_NAME}" + sleep 30 } throw exc } diff --git a/ci/jenkins/step/singleDevNightlyTest.groovy b/ci/jenkins/step/singleDevNightlyTest.groovy index 8701e47684..88c23bd7be 100644 --- a/ci/jenkins/step/singleDevNightlyTest.groovy +++ b/ci/jenkins/step/singleDevNightlyTest.groovy @@ -13,6 +13,7 @@ timeout(time: 180, unit: 'MINUTES') { def helmResult = sh script: "helm status -n milvus ${env.HELM_RELEASE_NAME}", returnStatus: true if (!helmResult) { sh "helm uninstall -n milvus ${env.HELM_RELEASE_NAME}" + sleep 30 } throw exc } @@ -42,6 +43,7 @@ timeout(time: 180, unit: 'MINUTES') { def helmResult = sh script: "helm status -n milvus ${env.HELM_RELEASE_NAME}", returnStatus: true if (!helmResult) { sh "helm uninstall -n milvus ${env.HELM_RELEASE_NAME}" + sleep 30 } throw exc } diff --git a/ci/jenkins/step/singleDevTest.groovy b/ci/jenkins/step/singleDevTest.groovy index d280e63c1c..d97c5740df 100644 --- a/ci/jenkins/step/singleDevTest.groovy +++ b/ci/jenkins/step/singleDevTest.groovy @@ -13,6 +13,7 @@ timeout(time: 120, unit: 'MINUTES') { def helmResult = sh script: "helm status -n milvus ${env.HELM_RELEASE_NAME}", returnStatus: true if (!helmResult) { sh "helm uninstall -n milvus ${env.HELM_RELEASE_NAME}" + sleep 30 } throw exc }