diff --git a/hack/make-rules/test-e2e-node.sh b/hack/make-rules/test-e2e-node.sh index 620e21d017a..bec1f08d6bb 100755 --- a/hack/make-rules/test-e2e-node.sh +++ b/hack/make-rules/test-e2e-node.sh @@ -117,7 +117,7 @@ if [ "${remote}" = true ] ; then IFS=',' read -ra IM <<< "${images}" images="" for i in "${IM[@]}"; do - if gcloud compute instances list "${instance_prefix}-${i}" | grep "${i}"; then + if gcloud compute instances list --project="${project}" --filter="name:'${instance_prefix}-${i}' AND zone:'${zone}'" | grep "${i}"; then if [[ "${hosts}" != "" ]]; then hosts="${hosts}," fi