Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-1407

Create e2e test/s to ensure that the CVO is correctly reconciling the new configuration API in HyperShift

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • OTA 266

      Feature gates must demonstrate completeness and reliability.

      As per[ https://github.com/openshift/api?tab=readme-ov-file#defining-featuregate-e2e-tests|https://github.com/openshift/api?tab=readme-ov-file#defining-featuregate-e2e-tests]:

      1. Tests must contain either [OCPFeatureGate:<FeatureGateName>] or the standard upstream [FeatureGate:<FeatureGateName>].
      2. There must be at least five tests for each FeatureGate.
      3. Every test must be run on every TechPreview platform we have jobs for. (Ask for an exception if your feature doesn't support a variant.)
      4. Every test must run at least 14 times on every platform/variant.
      5. Every test must pass at least 95% of the time on every platform/variant.

      If your FeatureGate lacks automated testing, there is an exception process that allows QE to sign off on the promotion by commenting on the PR.

      The introduced functionality is not that complex. The only new introduced ability is to modify the CVO log level using the API. However, we should still introduce an e2e test or tests to demonstrate that the CVO correctly reconciles the new configuration API in HyperShift. 

      The tests for HyperShift may be:

      • Check whether the CVO notices a new configuration in a reasonable time.
      • Check whether the CVO changes its log level correctly.
      • TODO: Think of more cases.

      Definition of Done:

      • e2e test/s exists to ensure that the CVO is correctly reconciling the new configuration API in HyperShift

              Unassigned Unassigned
              dhurta@redhat.com David Hurta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: