-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
Overview
Introduced a new Ginkgo v2 based end-to-end test suite to improve test structure, maintainability, and scalability for HyperShift e2e testing.
Changes Made
New Test Framework Structure
- Suite setup: Added BeforeSuite/AfterSuite hooks for proper test initialization and cleanup
- Test organization: Created test/e2e/v2/tests/ directory for structured test organization
- Internal utilities: Added helper functions and utilities in test/e2e/v2/internal/
- Cross-version compatibility: Added CRD utility functions in test/e2e/util/ for version compatibility
Key Files Added
- test/e2e/v2/tests/suite_test.go - Main test suite setup and configuration
- test/e2e/v2/tests/api_ux_validation_test.go - API and UX validation tests (1,648 lines)
- test/e2e/v2/tests/control_plane_workloads_test.go - Control plane workload tests (870 lines)
- test/e2e/v2/internal/ - Internal utilities for test context, workload registry, and resolver
- test/e2e/v2/tests/assets/ - YAML assets for test configurations
Technical Improvements
- Better parallel execution support: Ginkgo v2 provides improved parallel test execution
- Clearer test structure: More organized and maintainable test architecture
- Enhanced test utilities: Comprehensive workload registry and resolver for test management
- Environment variable handling: Centralized environment configuration management
Benefits
- More maintainable and scalable e2e testing framework
- Better parallel execution support for faster test runs
- Clearer separation of concerns with internal utilities
- Improved test organization and structure
Files Changed
- 13 files added with 3,841 total lines of new code
- No existing files modified, maintaining backward compatibility
Commit Details
- Commit: 076da23cb48f92c1065ad073ac17ac831665fdbb
- Author: Cesar Wong [cewong@redhat.com]
- Date: Sat Nov 1 07:35:18 2025 -0400