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

Make e2e test more reliable

XMLWordPrintable

    • None
    • OAPE Sprint 268
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The e2e test is failing due to a kubectl get pod call (https://github.com/openshift/secrets-store-csi-driver/blob/0988a4f791f25e221791cc1e12b920f75432eaeb/test/bats/vault.bats#L266) made too quickly even before pods were created. There should a check before making the get call to make sure the e2e can rerun reliably without any flakes.

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

      4.19    

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

      The details of the failure can be found here: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_secrets-store-csi-driver-operator/73/pull-ci-openshift-secrets-store-csi-driver-operator-main-operator-e2e-vault/1897371435102375936#1:build-log.txt%3A143-155    

              rh-ee-manpilla Manish Pillai
              rh-ee-arsen Arkadeep Sen
              Jia Fan Jia Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: