From 053d65c0869a9e4efb0294e636f6a3ffde668d73 Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Mon, 27 Oct 2014 16:31:31 -0700 Subject: [PATCH] Fix e2e tests --- hack/e2e-suite/services.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/e2e-suite/services.sh b/hack/e2e-suite/services.sh index 0c1b3becf61..2750f1c6568 100755 --- a/hack/e2e-suite/services.sh +++ b/hack/e2e-suite/services.sh @@ -47,8 +47,8 @@ function do_teardown() { # $3: service replica count function start_service() { echo "Starting service '$1' on port $2 with $3 replicas" - ${KUBECFG} -s "$2" -p 9376 run kubernetes/serve_hostname "$3" "$1" svcs_to_clean+=("$1") + ${KUBECFG} -s "$2" -p 9376 run kubernetes/serve_hostname "$3" "$1" } # Args: @@ -70,7 +70,7 @@ function query_pods() { for i in $(seq 1 10); do pods_unsorted=($(${KUBECFG} \ '-template={{range.Items}}{{.Name}} {{end}}' \ - -l replicationController="$1" list pods)) + -l name="$1" list pods)) found="${#pods_unsorted[*]}" if [[ "${found}" == "$2" ]]; then break