skip cluster/gce unit tests that depends on a disk format
@@ -220,6 +220,7 @@ function os::util::list_test_packages_under() {
-o -path '*assets/node_modules' \
-o -path '*test/*' \
-o -path '*pkg/proxy' \
+ -o -path '*k8s.io/kubernetes/cluster/gce*' \
\) -prune \
\) -name '*_test.go' | xargs -n1 dirname | sort -u | xargs -n1 printf "${OS_GO_PACKAGE}/%s\n"
@@ -235,6 +236,7 @@ function os::util::list_test_packages_under() {
-o -path "${kubernetes_path}/cmd" \
-o -path "${kubernetes_path}/test" \
-o -path "${kubernetes_path}/third_party/forked/etcd*" \
+ -o -path "${kubernetes_path}/cluster/gce" \
\) -prune \
\) -name '*_test.go' | cut -f 2- -d / | xargs -n1 dirname | sort -u | xargs -n1 printf "${OS_GO_PACKAGE}/vendor/%s\n"
else
