@@ -6,7 +6,7 @@ This directory contains OpenShift Tests Extension (OTE) binaries for testing the
66
77The test suite is organized into separate sub-projects, each with independent dependencies:
88
9- - ** ` aws-tests/ ` ** - AWS-specific cloud controller manager tests
9+ - ** ` ccm- aws-tests/` ** - AWS-specific cloud controller manager tests
1010 - ` e2e/aws/ ` - AWS-specific test implementations
1111 - ` e2e/common/ ` - Common helper functions (feature gate checks)
1212 - ` main.go ` - Binary entry point
@@ -60,7 +60,7 @@ The test suite is organized into separate sub-projects, each with independent de
6060
6161## Test Organization
6262
63- ### AWS Tests (` aws-tests/e2e/ ` )
63+ ### AWS Tests (` ccm- aws-tests/e2e/` )
6464
6565- ` aws/helper.go ` - AWS helper functions (feature gate checks, AWS clients)
6666- ` aws/loadbalancer.go ` - AWS NLB and load balancer tests
@@ -85,14 +85,14 @@ The test suite is organized into separate sub-projects, each with independent de
8585### Adding New Tests
8686
87871 . Add test files to the appropriate sub-project's ` e2e/ ` directory:
88- - ` aws-tests/e2e/aws/ ` - AWS-specific tests
89- - ` aws-tests/e2e/common/ ` - AWS-specific shared helpers
88+ - ` ccm- aws-tests/e2e/aws/` - AWS-specific tests
89+ - ` ccm- aws-tests/e2e/common/` - AWS-specific shared helpers
9090 - ` operator-tests/e2e/operator/ ` - Operator tests
9191 - ` operator-tests/e2e/common/ ` - Operator-specific shared helpers
9292
93932 . Import the test package in the binary's ` main.go ` (blank import for side effects):
9494 ``` go
95- import _ " github.com/openshift/cluster-cloud-controller-manager-operator/openshift-tests/aws-tests/e2e/aws"
95+ import _ " github.com/openshift/cluster-cloud-controller-manager-operator/openshift-tests/ccm- aws-tests/e2e/aws"
9696 ```
9797
98983 . Tests are automatically discovered by the OTE framework via Ginkgo suite scanning
@@ -109,7 +109,7 @@ make cloud-controller-manager-aws-tests-ext cluster-cloud-controller-manager-ope
109109make build
110110
111111# Or build individually from within each sub-project
112- cd openshift-tests/aws-tests && go build -o ../bin/cloud-controller-manager-aws-tests-ext .
112+ cd openshift-tests/ccm- aws-tests && go build -o ../bin/cloud-controller-manager-aws-tests-ext .
113113cd openshift-tests/operator-tests && go build -o ../bin/cluster-cloud-controller-manager-operator-tests-ext .
114114```
115115
@@ -150,19 +150,19 @@ Each sub-project has its own `go.mod` file, allowing independent dependency mana
150150./hack/go-mod.sh
151151
152152# Or update a specific sub-project independently
153- cd openshift-tests/aws-tests && go mod tidy
153+ cd openshift-tests/ccm- aws-tests && go mod tidy
154154cd openshift-tests/operator-tests && go mod tidy
155155```
156156
157157The ` hack/go-mod.sh ` script (run from project root):
158- - Tidies all modules in the workspace (root, aws-tests, operator-tests)
158+ - Tidies all modules in the workspace (root, ccm- aws-tests, operator-tests)
159159- Syncs workspace dependencies via ` go work sync `
160160- Re-tidies after sync to apply version bumps
161161- Verifies all modules
162162- Creates unified vendor directory
163163
164164** Benefits of separate modules:**
165- - AWS SDK updates only affect ` aws-tests/ ` - operator tests remain stable
165+ - AWS SDK updates only affect ` ccm- aws-tests/` - operator tests remain stable
166166- Each binary can update dependencies independently without blocking the other
167167- Faster, more focused dependency updates
168168- Reduced dependency bloat (operator tests don't pull in AWS SDK)
@@ -173,7 +173,7 @@ The `hack/go-mod.sh` script (run from project root):
173173
174174This directory contains multiple Go modules organized as a workspace:
175175- Root module: ` github.com/openshift/cluster-cloud-controller-manager-operator `
176- - AWS tests: ` github.com/openshift/cluster-cloud-controller-manager-operator/openshift-tests/aws-tests `
176+ - AWS tests: ` github.com/openshift/cluster-cloud-controller-manager-operator/openshift-tests/ccm- aws-tests `
177177- Operator tests: ` github.com/openshift/cluster-cloud-controller-manager-operator/openshift-tests/operator-tests `
178178
179179All modules are coordinated via the workspace defined in ` ../go.work ` .
0 commit comments