From 97001e317b02b57294f7e55d809581c5ae7b01db Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 14 Nov 2014 11:49:49 -0800 Subject: [PATCH] Fix service e2e test, by eliminating the assumption that ips are re-used. --- hack/e2e-suite/services.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hack/e2e-suite/services.sh b/hack/e2e-suite/services.sh index f4afc28656b..48b8a0c30ba 100755 --- a/hack/e2e-suite/services.sh +++ b/hack/e2e-suite/services.sh @@ -258,7 +258,8 @@ stop_service "${svc1_name}" wait_for_service_down "${svc1_name}" "${svc1_ip}" "${svc1_port}" # -# Test 4: Bring up another service, make sure it re-uses Portal IPs. +# Test 4: Bring up another service. +# TODO: Actually add a test to force re-use. # svc3_name="service3" svc3_port=80 @@ -274,9 +275,6 @@ svc3_pods=$(query_pods "${svc3_name}" "${svc3_count}") # Get the portal IP. svc3_ip=$(${KUBECFG} -template '{{.portalIP}}' get "services/${svc3_name}") test -n "${svc3_ip}" || error "Service3 IP is blank" -if [[ "${svc3_ip}" != "${svc1_ip}" ]]; then - error "Portal IPs not resued: ${svc3_ip} != ${svc1_ip}" -fi echo "Verifying the portals from the host" wait_for_service_up "${svc3_name}" "${svc3_ip}" "${svc3_port}" \