NO-JIRA: fix: importing nutanix test to in the binary#1491
NO-JIRA: fix: importing nutanix test to in the binary#1491abhay-nutanix wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
@abhay-nutanix: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
WalkthroughThe pull request adds a blank import for the Nutanix e2e test package to enable test initialization and refactors the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 8 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (8 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.11.4)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/lgtm |
|
/test e2e-aws-operator |
|
@abhay-nutanix: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
hi @nrb @theobarberbany please review this pull request. Thanks |
Summary
This PR fixes the integration of Nutanix multi-subnet E2E tests into the machine-api-tests-ext binary and resolves a variable assignment issue in the test logic.
Changes Made
Added missing import for Nutanix E2E tests: _ "github.com/openshift/machine-api-operator/test/e2e/nutanix"
This ensures that the comprehensive Nutanix multi-subnet test suite is properly included in the extended test binary
Without this import, the tests would not be discoverable or executable via the test extension framework
Fixed incorrect use of append() when assigning failure domains to machineNetworks
Changed from: machineNetworks = append(machineNetworks, infra.Spec.PlatformSpec.Nutanix.FailureDomains...)
Changed to: machineNetworks = infra.Spec.PlatformSpec.Nutanix.FailureDomains
This prevents potential duplication of failure domains if the variable was previously initialized
Summary by CodeRabbit