Skip to content

Commit d33f57d

Browse files
committed
Move test code and metadata to tests-extension directory
Relocates all test-related code into the isolated test module: Test code moved: - test/extended/main.go → test/extended/tests-extension/main.go - test/extended/apiserver/* → test/extended/tests-extension/apiserver/* - cmd/openshift-apiserver-tests-ext → test/extended/tests-extension/cmd/ Metadata moved: - test/.openshift-tests-extension/ → test/extended/tests-extension/.openshift-tests-extension/ This consolidates all test extension components (code, binary entry point, and test metadata) into a single self-contained directory that uses its own go.mod for dependency management. The test binary and metadata now live alongside the test code in test/extended/tests-extension/, making the test module completely independent from the operator codebase.
1 parent 43747ca commit d33f57d

File tree

6 files changed

+2
-183
lines changed

6 files changed

+2
-183
lines changed

test/extended/README.md

Lines changed: 0 additions & 181 deletions
This file was deleted.
File renamed without changes.

cmd/openshift-apiserver-tests-ext/main.go renamed to test/extended/tests-extension/cmd/openshift-apiserver-tests-ext/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"github.com/spf13/cobra"
2222

2323
// The import below is necessary to ensure that the OAS operator tests are registered with the extension.
24-
_ "github.com/openshift/openshift-apiserver/test/extended"
25-
_ "github.com/openshift/openshift-apiserver/test/extended/apiserver"
24+
_ "github.com/openshift/openshift-apiserver/test/extended/tests-extension"
25+
_ "github.com/openshift/openshift-apiserver/test/extended/tests-extension/apiserver"
2626
)
2727

2828
func main() {
File renamed without changes.

0 commit comments

Comments
 (0)