Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1981

CI: Backend unit tests fails because devfile registry was updated (fix assertion)

    XMLWordPrintable

Details

    • ODC Sprint 225, ODC Sprint 226
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-1828. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-1786. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-1677. The following is the description of the original issue:

      Description of problem:
      pkg/devfile/sample_test.go fails after devfile registry was updated (https://github.com/devfile/registry/pull/126)

      This issue is about updating our assertion so that the CI job runs successfully again. We might want to backport this as well.

      OCPBUGS-1678 is about updating the code that the test should use a mock response instead of the latest registry content OR check some specific attributes instead of comparing the full JSON response.

      Version-Release number of selected component (if applicable):
      4.12

      How reproducible:
      Always

      Steps to Reproduce:
      1. Clone openshift/console
      2. Run ./test-backend.sh

      Actual results:
      Unit tests fail

      Expected results:
      Unit tests should pass again

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              jakumar jaivardhan Kumar
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: