Remove remaining test pods before new test run

If the test pod still exists, then the new test run
fails with ERROR: pods "abc-test" already exists

So, Removing remaining test pods before new test run

Change-Id: I447d2b56b1419086b99df47b6605d0a95e1a9239
Closes-Bug: #1882030
This commit is contained in:
Gayathri Devi Kathiri 2020-06-04 08:52:51 +00:00
parent 3135f1f00c
commit 16ea83e11c
3 changed files with 6 additions and 0 deletions

View File

@ -32,4 +32,6 @@ helm upgrade --install barbican ./barbican \
#NOTE: Validate Deployment info
helm status barbican
# Delete the test pod if it still exists
kubectl delete pods -l application=barbican,release_group=barbican,component=test --namespace=openstack --ignore-not-found
helm test barbican

View File

@ -35,4 +35,6 @@ helm upgrade --install horizon ./horizon \
#NOTE: Validate Deployment info
helm status horizon
# Delete the test pod if it still exists
kubectl delete pods -l application=horizon,release_group=horizon,component=test --namespace=openstack --ignore-not-found
helm test horizon

View File

@ -80,4 +80,6 @@ helm status radosgw-openstack
#NOTE: Run Tests
export OS_CLOUD=openstack_helm
# Delete the test pod if it still exists
kubectl delete pods -l application=radosgw-openstack,release_group=radosgw-openstack,component=test --namespace=openstack --ignore-not-found
helm test radosgw-openstack