Uploaded image for project: 'OpenShift Edge Enablement'
  1. OpenShift Edge Enablement
  2. OCPEDGE-2324

fix Etcd cert rotation tests on a degraded cluster

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • None
    • Two Node Fencing
    • None
    • None
    • OCPEDGE Sprint 283
    • 1

      TEST_SUITE: openshift/etcd/certrotation
      the specific etcd cert tests at test/extended/dr/cert_rotation.go fails because of a readiness gate in the helpers of the tests

      cert_rotation.go
        BeforeEach()
          waitForApiServerToStabilizeOnTheSameRevisionLonger()
            WaitForPodsToStabilizeOnTheSameRevision()
              arePodsOnTheSameRevision()
                getRevisions() 

      and the failing logic is:

      case corev1.PodRunning:
          if !podReady(pod) {
              return nil, nil, true, nil
          } 

      these helpers (WaitForPodsToStabilizeOnTheSameRevision) and so on are in library-go package which is a vendored code vendor/github.com/openshift/library-go/test/library/library.goSo i'll have to duplicate some work locally in origin or something

              nhamza12 Neil Hamza
              nhamza12 Neil Hamza
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: