Skip to content
Prajyot Parab edited this page Jun 22, 2022 · 3 revisions

WIP list for the scenarios covered in IBMPowerVSCluster controller tests :

  • Reconcile IBMPowerVSCluster successfully:

    • Should set IBMPowerVSCluster status as ready if reconcile is successful
    • Should add finalizer to IBMPowerVSCluster
  • Reconcile IBMPowerVSCluster failures:

    • Error while fetching IBMPowerVSCluster object
    • Error while fetching Owner Cluster object
    • Error while creating PowerVSClusterScope
    • Error while listing child resources (deletion)
    • Error while listing direct child resources (deletion)
    • Error while deleting all the child resources (deletion)
  • Test Reconcile IBMPowerVSCluster func:

    • Should Reconcile IBMPowerVSCluster with requeue
    • Should fail Reconcile with GetOwnerCluster failure
    • Should Reconcile successfully if no IBMPowerVSCluster found
  • Test create requeue requests For Unpaused Cluster:

    • Should not create reconcile request for deleted clusters
    • Should not create reconcile request if infrastructure ref for IBMPowerVSCluster on owner cluster is not set
    • Should create reconcile request if IBMPowerVSCluster not found
    • Should create reconcile request successfully

WIP list for the scenarios covered in IBMPowerVSCluster controller tests :

  • Reconcile IBMPowerVSCluster successfully:

    • Should set IBMPowerVSCluster status as ready if reconcile is successful
    • Should add finalizer to IBMPowerVSCluster
  • Reconcile IBMPowerVSCluster failures:

    • Should not set IBMPowerVSCluster status as ready if reconcile fails
  • Test Reconcile IBMPowerVSCluster func:

    • Should Reconcile IBMPowerVSCluster with requeue
    • Should fail Reconcile with GetOwnerCluster failure
    • Should Reconcile successfully if no IBMPowerVSCluster found
    • Should not create reconcile request for deleted clusters
    • Should not create reconcile request if infrastructure ref for IBMPowerVSCluster on owner cluster is not set
    • Should create reconcile request if IBMPowerVSCluster not found
    • Should create reconcile request successfully
Clone this wiki locally