Use a different port for the kubectl proxy in the shell and go tests.

This commit is contained in:
Robert Bailey 2015-02-25 09:32:41 -08:00
parent e6c1504344
commit e7d67e4449

View File

@ -103,7 +103,7 @@ function validate() {
continue continue
fi fi
curl -s --max-time 5 --fail http://localhost:8011/api/v1beta1/proxy/pods/${id}/data.json \ curl -s --max-time 5 --fail http://localhost:8010/api/v1beta1/proxy/pods/${id}/data.json \
| grep -q ${container_image_version} || { | grep -q ${container_image_version} || {
echo " ${id} is running the right image but curl to contents failed or returned wrong info" echo " ${id} is running the right image but curl to contents failed or returned wrong info"
continue continue
@ -128,7 +128,7 @@ function teardown() {
trap "teardown" EXIT trap "teardown" EXIT
# Launch a local proxy to the apiserver # Launch a local proxy to the apiserver
${KUBECTL} proxy --port=8011 & ${KUBECTL} proxy --port=8010 &
kubectl_proxy_pid=$! kubectl_proxy_pid=$!
# Launch a container # Launch a container