Skip to content

tests: Fix tests for 1.23 RC - #1640

Open
varshab1210 wants to merge 1 commit into
redhat-developer:masterfrom
varshab1210:test-fix-1.23
Open

varshab1210 wants to merge 1 commit into
redhat-developer:masterfrom
varshab1210:test-fix-1.23

Conversation

@varshab1210

Copy link
Copy Markdown
Member

What does this PR do?

Test fixes for 1.23

PR acceptance criteria:

  • Documentation was updated and verified using make serve-docs
  • Unit tests were updated
  • E2E tests were updated

What type of PR is this?

/kind failing-test

Special notes to the reviewer:

Signed-off-by: Varsha B <vab@redhat.com>
@openshift-ci openshift-ci Bot added the kind/failing-test Categorizes issue or PR as related to a frequently failing test. label Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Tests
    • Updated release validation checks to reflect the current Argo CD version and expected component images across supported environments.
    • Refined permission checks to match the current set of resources and access rules, and limited the operator version check to the relevant namespace.
    • Updated GitOps Promoter extension checks for environment-specific image and configuration expectations.

The OpenShift end-to-end tests update the expected Argo CD version, the permissions fixture and CSV lookup scope, and image assertions for Argo CD agent components and the promoter extension.

Changes: OpenShift end-to-end validation

Layer / File(s) Summary
Permissions fixture and CSV lookup
test/openshift/e2e/ginkgo/parallel/1-090_validate_permissions_test.go
The expected CSV changes to version v1.23.0. The fixture revises permission rules and adds resource coverage. The test limits its CSV lookup to openshift-gitops-operator.
Version and image expectations
test/openshift/e2e/ginkgo/parallel/1-031_validate_toolchain_test.go, test/openshift/e2e/ginkgo/sequential/1-051_validate_argocd_agent_principal_test.go, test/openshift/e2e/ginkgo/sequential/1-052_validate_argocd_agent_agent_test.go, test/openshift/e2e/ginkgo/sequential/1-134_validate_gitops_promoter_test.go
The non-Prow Argo CD version expectation changes to v3.6.4. Agent and promoter image assertions now use configured defaults in CI, local-run, or non-OLM environments, and check registry prefixes otherwise. The promoter test also checks EXTENSION_URL in those default-image environments.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Suggested reviewers: jgwest, olivergondza, cjcocokrisp

Merge Risk: Minimal · up to 21278

This change only updates end-to-end test expectations for the 1.23 release candidate and does not alter product behavior. No actionable merge risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title 'tests: Fix tests for 1.23 RC' matches the changeset. The changes update e2e test fixtures and expectations (Argo CD version, CSV permissions, default-image assertions) for the 1.23 release …
Description check Passed The description says 'Test fixes for 1.23', which relates to the e2e test changes in the changeset. It is brief and lacks detail, but it is not off-topic. The checklist items are unchecked.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title 'tests: Fix tests for 1.23 RC' matches the changeset. The changes update e2e test fixtures and expectations (Argo CD version, CSV permissions, default-image assertions) for the 1.23 release candidate. It is brief, but it names the primary change.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8bb6395 and 21278cb.

Files selected for processing: 5

  • test/openshift/e2e/ginkgo/parallel/1-031_validate_toolchain_test.go
  • test/openshift/e2e/ginkgo/parallel/1-090_validate_permissions_test.go
  • test/openshift/e2e/ginkgo/sequential/1-051_validate_argocd_agent_principal_test.go
  • test/openshift/e2e/ginkgo/sequential/1-052_validate_argocd_agent_agent_test.go
  • test/openshift/e2e/ginkgo/sequential/1-134_validate_gitops_promoter_test.go
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@trdoyle81

Copy link
Copy Markdown
Member

Tests passed locally 👍
/lgtm
/approve

@cjcocokrisp cjcocokrisp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on the Promoter test changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/failing-test Categorizes issue or PR as related to a frequently failing test. lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants