Skip to content

Commit

Permalink
Make auth-in-container tests cause test failure again
Browse files Browse the repository at this point in the history
  • Loading branch information
smarterclayton committed Nov 7, 2015
1 parent 1e7209b commit b2e0262
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/end-to-end/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ oc project test
oc whoami

echo "[INFO] Running a CLI command in a container using the service account"
echo "[INFO] WARNING: Tests are set to not fail, dockererized container is writing an invalid ca.crt"
set +e
oc policy add-role-to-user view -z default
out=$(oc run cli-with-token --attach --env=POD_NAMESPACE=test --image=openshift/origin:${TAG} --restart=Never -- cli status --loglevel=4 2>&1)
echo $out
Expand All @@ -154,7 +152,6 @@ out=$(oc run kubectl-with-token --attach --env=POD_NAMESPACE=test --image=opensh
echo $out
[ "$(echo $out | grep 'Using in-cluster configuration')" ]
[ "$(echo $out | grep 'kubectl-with-token')" ]
set -e

echo "[INFO] Streaming the logs from a deployment twice..."
oc create -f test/fixtures/failing-dc.yaml
Expand Down

0 comments on commit b2e0262

Please sign in to comment.