You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add MCPRegistry controller e2e test framework
- Create Ginkgo-based test suite for operator testing
- Add comprehensive test helpers for MCPRegistry operations
- Include test fixtures with sample YAML manifests
- Set up Kubernetes test environment with envtest support
- Add namespace isolation and cleanup utilities
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
* Add comprehensive Ginkgo test framework for MCPRegistry e2e testing
- Create test suite with proper Kubernetes environment setup
- Add specialized helper utilities for MCPRegistry operations
- Implement ConfigMap test helpers for registry data validation
- Add status validation helpers for phase and condition checking
- Create timing utilities with proper timeout configurations
- Add test data factories for generating test resources
- Include builder patterns for fluent resource construction
- Support both ToolHive and upstream MCP registry formats
- Add comprehensive test fixtures and scenarios
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
* Fix MCPRegistry e2e test timeouts and finalizer handling
- Fix finalizer removal using Patch instead of Update to avoid resource conflicts
- Update registry data structure to match expected schema (add required fields: tier, status, tools, image)
- Add proper registry deletion waiting in cleanup to prevent namespace deletion issues
- Fix lint errors by removing dot imports from non-test files
- Add comprehensive MCPRegistry lifecycle test coverage
- Improve error handling and logging in test helpers
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code)
* reviewed finalization logic to avoid unnecessary attempts (and logged errors)
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* extended and successful validation of "should create MCPRegistry with correct initial status"
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* Enhance e2e test setup by adding support for kubebuilder assets
- Introduced environment variable handling for KUBEBUILDER_ASSETS
- Added warning for missing kubebuilder assets to improve test reliability
- Updated test environment configuration to include BinaryAssetsDirectory
This change aims to streamline the e2e testing process and provide clearer feedback on asset availability.
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* - reviewed controller logic to avoid reconciliaton loops
- initial draft of e2e tests
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* more tests for automatic and manual sync
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* filtering and git source e2e tests
* controller changes to succeed e2e tests
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* bump chart version and update CRD docs
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* rebase issue
* bump chart version
* bump chart version
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* removed the whole test/e2e/operator/fixtures folder
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* removed bunch of unused functions and the unneded defer clause
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* integrated operator e2e tests in CI and added new task to execute them
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* moved automated tests to operator CI
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* fix for automated tests
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* installed ginkgo
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* try to fix e2e test failures (git clone issue)
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* restored commented tests
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
* - reviewed apply status logic to run a single status update per reconciliation and avoid errors due to updated resource.
- reviewed overall status calculation to consider updates or (if nil) lates status
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
---------
Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments