Skip to content

Commit

Permalink
Stop both replication controllers in update-demo
Browse files Browse the repository at this point in the history
The update test may have failed, and if we leave an RC around it
causes subsequent tests to fail
  • Loading branch information
justinsb committed Feb 11, 2015
1 parent c9c98ab commit c6f32d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/update-demo/5-down.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh
set -x

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

0 comments on commit c6f32d5

Please sign in to comment.