Enable verify-import-boss check for e2e framework #87264
Labels
area/e2e-test-framework
Issues or PRs related to refactoring the kubernetes e2e test framework
kind/bug
Categorizes issue or PR as related to a bug.
sig/testing
Categorizes an issue or PR as relevant to SIG Testing.
What happened:
There is
test/e2e/framework/.import-restrictions
to manage import ways undertest/e2e/framework/
but that doesn't work at our upstream CI.We can enable it by #81246 (comment)
But if doing that, we will face the following error with
./hack/verify-import-boss.sh
What you expected to happen:
I hope the check is always running to block invalid import ways at upstream CI system.
How to reproduce it (as minimally and precisely as possible):
As #81246 (comment)
"k8s.io/kubernetes/test/e2e/framework/...",
into arguments.InputDirs ofstaging/src/k8s.io/code-generator/cmd/import-boss/main.go
./hack/verify-import-boss.sh
The text was updated successfully, but these errors were encountered: