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

Add end-to-end tests for StorageClassOptions feature

XMLWordPrintable

    • None
    • None
    • OCPEDGE Sprint 285
    • 1

      Add comprehensive E2E tests that verify StorageClassOptions work correctly in a real cluster environment, including day-2 update scenarios.

      Acceptance Criteria:

      •  E2E test suite added to test/e2e/lvm_cluster_test.go:
        • Creation tests:
          • StorageClass created with Retain policy
          • StorageClass created with Immediate binding mode
          • StorageClass created with additional parameters and labels
        • Day-2 update tests:
          • StorageClass recreated when reclaimPolicy changes (verify UID changes)
          • StorageClass recreated when volumeBindingMode changes
          • StorageClass recreated when additionalParameters change
          • Labels updated without recreation (verify UID stays same)
        • Edge case tests:
          • Conflicting additionalParameters ignored
          • Existing PVCs continue working after SC recreation
      •  Tests run successfully with make e2e
      •  Tests cover both SNO and multi-node scenarios

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

                Created:
                Updated: