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
pull/6/head
Justin Santa Barbara 2015-02-11 12:54:18 -05:00
parent c9c98ab19e
commit c6f32d5a15
1 changed files with 5 additions and 1 deletions

View File

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