[wip]NO-JIRA: Move test/e2e/accept.go to its own folder#2294
[wip]NO-JIRA: Move test/e2e/accept.go to its own folder#2294hongkailiu wants to merge 3 commits into
Conversation
```console $ cp ./pkg/cli/admin/upgrade/OWNERS ./test/e2e/admin/upgrade/ ```
|
@hongkailiu: 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. |
WalkthroughAdds an ChangesUpgrade e2e ownership and helper updates
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/test unit |
|
I'm supportive of the idea |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ardaguclu, hongkailiu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test unit |
2 similar comments
|
/test unit |
|
/test unit |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
test/e2e/admin/upgrade/accept/accept.go (1)
1-24: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winAdd a Ginkgo suite bootstrap for
test/e2e/admin/upgrade/accept. This directory currently has onlyaccept.go, and there’s noRunSpecs/*_suite_test.gooroc-tests-extwiring that imports it, so these specs won’t be discovered bygo testor the Ginkgo runner.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@test/e2e/admin/upgrade/accept/accept.go` around lines 1 - 24, Add a Ginkgo suite bootstrap for the accept package so these specs are actually registered and run. Create the missing suite entry point for test/e2e/admin/upgrade/accept (the package containing accept.go) with the usual RunSpecs setup, and make sure it is imported by the existing e2e test wiring such as oc-tests-ext so go test and the Ginkgo runner discover the suite.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@test/e2e/admin/upgrade/accept/accept.go`:
- Around line 1-24: Add a Ginkgo suite bootstrap for the accept package so these
specs are actually registered and run. Create the missing suite entry point for
test/e2e/admin/upgrade/accept (the package containing accept.go) with the usual
RunSpecs setup, and make sure it is imported by the existing e2e test wiring
such as oc-tests-ext so go test and the Ginkgo runner discover the suite.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 20359540-14b3-4e34-b5f1-fd02d13ae497
📒 Files selected for processing (3)
test/e2e/admin/upgrade/accept/accept.gotest/e2e/cli.gotest/e2e/util.go
|
@hongkailiu: The following tests failed, say
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. |
The goal is to get additional approvers for the testing like we do for the core code.
Summary by CodeRabbit