Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-4055

[OLMv1] - Migrate olmv1.go tests to OTE

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • Oddish Sprint 275

      Description

      This ticket aims to migrate all tests from the https://github.com/openshift/origin/blob/main/test/extended/olm/olmv1.go file to the new Go-native OTE framework. These tests validate OLMv1 catalog functionality using the oc CLI, and they will be rewritten to use direct API interaction. This migration is crucial for centralizing OLMv1 tests and improving their reliability and maintainability.

      Acceptance Criteria

      • All tests from olmv1-catalogd.go are migrated to OTE and pass.
      • The original test file is removed from openshift/origin.

      Tasks

      1. Migrate Tests: Rewrite all tests from olmv1.go using controller-runtime and gomega.
      1. Validation: Run the new tests and confirm they match the original functionality.
      1. Follow-up PR: Remove the olmv1.go file from openshift/origin.

      Disclaimer: This content was generated with the support of an AI assistant.

              rh-ee-cmacedo Camila Macedo
              rh-ee-cmacedo Camila Macedo
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: