File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 11//go:build upgrade
22
3+ //
4+ // This file (main_test.go) contains TestMain and cluster setup logic for all upgrade tests.
5+ // It performs the following initialization:
6+ // - Creates a kind cluster with Crossplane and the CloudFoundry provider
7+ // - Configures the provider with DeploymentRuntimeConfig for debug logging
8+ // - Handles both "local" (development) and registry (release) provider images
9+ // - Sets up CloudFoundry credentials as a Kubernetes secret
10+ // - Discovers and loads test resources from testdata directories
11+ //
12+ // The setup happens once before all tests run, ensuring consistent test environment
13+ // across both baseline and custom upgrade tests.
14+
315package upgrade
416
517import (
Original file line number Diff line number Diff line change 11//go:build upgrade
22
3+ //
4+ // This file (space_external_name_upgrade_test.go) contains Test_Space_External_Name,
5+ // which validates that Space resources maintain proper external-name formatting
6+ // during provider upgrades. Specifically, it verifies:
7+ // - External-name annotation exists and follows UUID format
8+ // - External-name value remains unchanged after provider upgrade
9+ //
10+ // This test demonstrates the use of CustomUpgradeTestBuilder for creating
11+ // specialized upgrade tests with custom pre/post-upgrade validation logic.
12+
313package upgrade
414
515import (
You can’t perform that action at this time.
0 commit comments