test-fix: run staging tests through vendor
@@ -146,9 +146,10 @@ else
# we need to find all of the kubernetes test suites, excluding those we directly whitelisted before, the end-to-end suite, and
# the go2idl tests which we currently do not support
# etcd3 isn't supported yet and that test flakes upstream
- optional_kubernetes_packages="$(find "${kubernetes_path}" -not \( \
+ optional_kubernetes_packages="$(find vendor/k8s.io/{apimachinery,apiserver,client-go,kubernetes} -not \( \
\( \
- -path "${kubernetes_path}/pkg/api" \
+ -path "${kubernetes_path}/staging" \
+ -o -path "${kubernetes_path}/pkg/api" \
-o -path "${kubernetes_path}/pkg/api/v1" \
-o -path "${kubernetes_path}/test" \
-o -path "${kubernetes_path}/cmd/libs/go2idl/client-gen/testoutput/testgroup/unversioned" \
