Stop both replication controllers in update-demo
The update test may have failed, and if we leave an RC around it causes subsequent tests to fail
This commit is contained in:
@@ -24,5 +24,9 @@ export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
rc="update-demo-kitten"
|
rc="update-demo-kitten"
|
||||||
|
echo "Stopping replicationController ${rc}"
|
||||||
|
$KUBECTL stop rc ${rc} || true
|
||||||
|
|
||||||
$KUBECTL stop rc ${rc}
|
rc="update-demo-nautilus"
|
||||||
|
echo "Stopping replicationController ${rc}"
|
||||||
|
$KUBECTL stop rc ${rc} || true
|
||||||
|
Reference in New Issue
Block a user