Skip to content

Test stubs for Story #8: Multi-vCenter Support (CCO)#1

Open
rvanderp3 wants to merge 1 commit into
masterfrom
test-stubs-8-multi-vcenter
Open

Test stubs for Story #8: Multi-vCenter Support (CCO)#1
rvanderp3 wants to merge 1 commit into
masterfrom
test-stubs-8-multi-vcenter

Conversation

@rvanderp3
Copy link
Copy Markdown

Summary

Test stubs for Story #8: Multi-vCenter Support implementing CCO-specific test coverage for multi-vCenter secret generation and component binding.

Test Plan

Full test plan: openshift-splat-team/splat-team#8 (comment)

Test Coverage

CCO Unit Tests (4 scenarios)

File: pkg/vsphere/actuator/multi_vcenter_test.go

  1. TestMultiVCenterSecretFormat_FQDNKeys - Verify secrets use vCenter FQDN-keyed format (vcenter1.example.com.username)
  2. TestMultiVCenterBinding_MachineAPIToVC1 - Verify Machine API connects to vcenter1.example.com
  3. TestMultiVCenterBinding_CSIToVC2 - Verify CSI Driver connects to vcenter2.example.com
  4. TestMultiVCenterSecretGeneration_MultipleVCenters - Verify CCO generates secrets for all referenced vCenters

Acceptance Criteria Coverage

AC2: Component secrets use FQDN-keyed format (Test #1)
AC3: Machine API connects to vcenter1 (Test #2)
AC4: CSI Driver connects to vcenter2 (Test #3)

Dependencies

Implementation Status

All tests currently skip with Implementation pending - Story #8.
Tests will be implemented during story development alongside production code.

Related

Test Plan Coverage:
- FQDN-keyed secret format verification
- Component-to-vCenter binding validation
- Multi-vCenter secret generation
- Machine API and CSI Driver vCenter connection tests

Test File:
- pkg/vsphere/actuator/multi_vcenter_test.go (4 unit tests)

All tests currently skip with 'Implementation pending - Story #8'.
Tests will be implemented as part of story development.

Related: openshift-splat-team/splat-team#8

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant