Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-5874

Create e2e test that checks that PO resources' stability

XMLWordPrintable

    • RHOAM Sprint 43

      WHY
      It is important that we implement e2e tests while completing the OBO migration.

      WHAT
      Create a new e2e test that the resources created by the package-operator (which come from the "rhoam-config" ClusterPackage CR) aren't being continuously updated. If they are being continuously updated then the package-operator is probably fighting rhoam to reconcile the resource which can cause instability issues and unnecessarily consume compute resources.

      HOW
      The test itself should go in the test/common folder. The entry for the test then needs to be added to the OBSERVABILITY_TESTS block here.

      One way to test this would be to fetch one of the resources (which are specified in MTBR), wait a certain amount of time (maybe 30 seconds), and then try to update the resource. If the resource has already been updated (by the package-operator), then the call will fail which is evidence that the resource is being continuously updated.

      TESTS
      <List of related tests>

      DONE

      • Added to check if the resources created by the package-operator are being continuously updated.

              pstefans@redhat.com Patryk Stefanski
              ckyrillo@redhat.com Carl Kyrillos
              Denis Moskalenko Denis Moskalenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: