Commit e7d67e44 authored by Robert Bailey's avatar Robert Bailey

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

parent e6c15043
...@@ -103,7 +103,7 @@ function validate() { ...@@ -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() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment