Uploaded image for project: 'Zero Trust Workload Identity Manager'
  1. Zero Trust Workload Identity Manager
  2. SPIRE-329

premarge testing of Adds upgradeableCondition ZTWIM's OperatorCondition

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • OAPE Sprint 280
    • 1

      PR64-Test-Plan.mdSummary:
      Add Upgradeable condition to OperatorCondition for safe operator upgrades

      Description:
      Implements an Upgradeable condition in the ZTWIM operator's OperatorCondition resource to signal to OLM when the operator is safe to upgrade.

      Problem:
      OLM currently upgrades operators at any time, which can interrupt reconciliation, cause service disruptions, or leave resources in inconsistent states.

       

      pr =>https://github.com/openshift/zero-trust-workload-identity-manager/pull/64

      Positive Test Cases

      Test Case Description Status Notes
      ----------- ------------- -------- -------
      TC1 Initial State ✅ PASS Upgradeable=True, no operands
      TC2 Deploy Operands ✅ PASS Upgradeable=False during deployment
      TC3 Monitor Progress ✅ PASS Upgradeable=True after complete
      TC4 Trigger Reconciliation ✅ PASS Correct transitions
      TC5 Delete Pod ✅ PASS Handles pod failures
      TC6 Required Fields ✅ PASS All fields present
      TC7 Operator Logs ✅ PASS Logs show updates
      TC8 OLM Integration ✅ PASS OLM compatible

      Negative Test Cases

      Test Case Description Status Notes
      ----------- ------------- -------- -------
      N1 Multiple Concurrent Updates ✅ PASS Correctly detected updates, 12s recovery
      N2 Delete Multiple Pods ✅ PASS All pods deleted, 32s recovery
      N3 Configuration Error ✅ PASS CrashLoopBackOff detected, 11min recovery
      N4 Rapid Successive Updates ✅ PASS 3 spec changes, CrashLoopBackOff, 28s recovery
      N5 Delete/Recreate Cycle ✅ PASS CR deletion = True, recreation handled
      N6 Operator Restart ✅ PASS Operator restarted, 15s recovery, reconciled
      N7 Storage Issues ✅ PASS Pod restart, 17s recovery, no PVC issues

       

              rh-ee-sayadas SAYAK DAS
              rh-ee-sayadas SAYAK DAS
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: