Skip to content

Commit 2b795b9

Browse files
authored
Merge pull request kubernetes#83284 from odinuge/node-e2e-host-reuse
Fix host reuse for e2e tests
2 parents 7066107 + d17dc13 commit 2b795b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/make-rules/test-e2e-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if [ "${remote}" = true ] ; then
117117
IFS=',' read -ra IM <<< "${images}"
118118
images=""
119119
for i in "${IM[@]}"; do
120-
if gcloud compute instances list "${instance_prefix}-${i}" | grep "${i}"; then
120+
if gcloud compute instances list --project="${project}" --filter="name:'${instance_prefix}-${i}' AND zone:'${zone}'" | grep "${i}"; then
121121
if [[ "${hosts}" != "" ]]; then
122122
hosts="${hosts},"
123123
fi

0 commit comments

Comments
 (0)