diff --git a/hack/make-rules/test-e2e-node.sh b/hack/make-rules/test-e2e-node.sh index 6ad1bc1f8f8..0dba6319ca5 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