e2e framework: move node helper code into sub package

This reduces the size of the test/e2e/framework itself. Because it does not
check nodes anymore by default, E2E test suites must set their own check
function or set the original one by importing
"k8s.io/kubernetes/test/e2e/framework/todo/node/init".
This commit is contained in:
Patrick Ohly
2022-08-25 13:43:04 +02:00
parent c45a924c5e
commit b8d28cb6c3
9 changed files with 210 additions and 138 deletions

View File

@@ -55,6 +55,7 @@ import (
// reconfigure framework
_ "k8s.io/kubernetes/test/e2e/framework/debug/init"
_ "k8s.io/kubernetes/test/e2e/framework/todo/node/init"
"github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega"