Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-1605

Add e2e tests for ClusterPools

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • None
    • False
    • None
    • None
    • None
    • None

      Our unit tests for ClusterPools are nice, but they only test one reconcile in one controller in isolation. It sure would improve confidence to have some integration tests for ClusterPools in the e2e suite.

      These can also validate hibernate/resume (of real clusters).

      Because that'll all take a while, we should probably do it in a separate test from e2e. (We could kick it off in that suite in parallel, but that could make it harder to debug issues that arise.)

      Draft high-level design of the test:

      • Create a ClusterPool for real AWS CDs. Size=1 at least to start.
      • Verify the pool creates a CD; wait for it to settle with Installed=True and PowerState/Condition=Hibernating
      • Create a claim. Verify it gets the above CD.
      • Verify the pool backfills the CD.
      • Verify the claimed CD goes to Running
      • Hibernate and wake the claimed CD again?
      • Delete the claim. Verify the claimed CD is properly deleted
      • Delete the pool. Verify the backfill CD goes away.

              efried.openshift Eric Fried
              efried.openshift Eric Fried
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: