Skip to content

Commit

Permalink
CNS UnRegisterVolume testcase automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aishwarya-Hebbar committed Jan 21, 2025
1 parent f666450 commit f882878
Show file tree
Hide file tree
Showing 16 changed files with 4,315 additions and 2,241 deletions.
1,176 changes: 1,176 additions & 0 deletions tests/e2e/cns_unregister_volume_api.go

Large diffs are not rendered by default.

3,178 changes: 1,409 additions & 1,769 deletions tests/e2e/csi_snapshot_basic.go

Large diffs are not rendered by default.

1,423 changes: 1,147 additions & 276 deletions tests/e2e/gc_rwx_basic.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tests/e2e/multi_vc.go
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ var _ = ginkgo.Describe("[multivc-positive] MultiVc-Topology-Positive", func() {
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate node")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i],
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}

Expand Down Expand Up @@ -1373,7 +1373,7 @@ var _ = ginkgo.Describe("[multivc-positive] MultiVc-Topology-Positive", func() {
ginkgo.By("Verify PV node affinity and that the PODS are running " +
"on appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

Expand Down Expand Up @@ -1983,7 +1983,7 @@ var _ = ginkgo.Describe("[multivc-positive] MultiVc-Topology-Positive", func() {

ginkgo.By("Verify pv and pod node affinity")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/multi_vc_preferential_topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ var _ = ginkgo.Describe("[multivc-preferential] MultiVc-Preferential", func() {
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/preferential_topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ var _ = ginkgo.Describe("[preferential-positive] Preferential-Topology-Positive"
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate " +
"node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack1)
namespace, allowedTopologyForRack1)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

Expand Down Expand Up @@ -1174,7 +1174,7 @@ var _ = ginkgo.Describe("[preferential-positive] Preferential-Topology-Positive"
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate " +
"node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack1)
namespace, allowedTopologyForRack1)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

})
Expand Down Expand Up @@ -1349,7 +1349,7 @@ var _ = ginkgo.Describe("[preferential-positive] Preferential-Topology-Positive"
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate " +
"node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack3)
namespace, allowedTopologyForRack3)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

// perform statefulset scaleup
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/preferential_topology_disruptive.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ var _ = ginkgo.Describe("[preferential-disruptive] Preferential-Topology-Disrupt
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate " +
"node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack2)
namespace, allowedTopologyForRack2)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

// perform statefulset scaleup
Expand Down Expand Up @@ -868,7 +868,7 @@ var _ = ginkgo.Describe("[preferential-disruptive] Preferential-Topology-Disrupt
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate " +
"node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack1)
namespace, allowedTopologyForRack1)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

// perform statefulset scaleup
Expand Down Expand Up @@ -1099,7 +1099,7 @@ var _ = ginkgo.Describe("[preferential-disruptive] Preferential-Topology-Disrupt
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate " +
"node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack2)
namespace, allowedTopologyForRack2)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

// perform statefulset scaleup
Expand Down
10 changes: 5 additions & 5 deletions tests/e2e/preferential_topology_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ var _ = ginkgo.Describe("[preferential-snapshot] Preferential-Topology-Snapshot"
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologyForRack1)
namespace, allowedTopologyForRack1)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

Expand Down Expand Up @@ -687,7 +687,7 @@ var _ = ginkgo.Describe("[preferential-snapshot] Preferential-Topology-Snapshot"
"appropriate node as specified in the allowed topologies of SC")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i],
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}

Expand Down Expand Up @@ -747,7 +747,7 @@ var _ = ginkgo.Describe("[preferential-snapshot] Preferential-Topology-Snapshot"
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod3,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Remove preferred datastore tag chosen for volume provisioning")
Expand Down Expand Up @@ -842,7 +842,7 @@ var _ = ginkgo.Describe("[preferential-snapshot] Preferential-Topology-Snapshot"
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod4,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

volumeSnapshot2, volumeSnapshotClass2, snapshotId2 := createSnapshotClassAndVolSnapshot(ctx, snapc, namespace,
Expand Down Expand Up @@ -895,7 +895,7 @@ var _ = ginkgo.Describe("[preferential-snapshot] Preferential-Topology-Snapshot"
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod5,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

Expand Down
10 changes: 5 additions & 5 deletions tests/e2e/snapshot_stretched_supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Verify pv and node affinity")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, namespace, allowedTopologies)

ginkgo.By("Restore snapshot to create a new volume")
pvclaim2, pvs2, pod2 := verifyVolumeRestoreOperation(ctx, client, namespace, storageclass,
Expand All @@ -304,7 +304,7 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Verify pv and node affinity for newly created workload")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod2, allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod2, namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Delete volume snapshot")
Expand Down Expand Up @@ -428,7 +428,7 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Verify pv and node affinity")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Delete dynamic volume snapshot")
Expand Down Expand Up @@ -734,7 +734,7 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Verify pv and node affinity")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Expanding current pvc before deleting volume snapshot")
Expand Down Expand Up @@ -917,7 +917,7 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Verify pv and node affinity")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod, namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Create volume snapshot class")
Expand Down
94 changes: 93 additions & 1 deletion tests/e2e/staging_env_basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ var _ = ginkgo.Describe("[csi-supervisor-staging] Tests for WCP env with minimal
ginkgo.By("Verify filesystem size for mount point /mnt/volume1")
fsSize, err = getFSSizeMbWithoutF(namespace, pod)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
framework.Logf("File system size after expansion : %d", fsSize)
framework.Logf("File system size after expansion : %s", fsSize)
// Filesystem size may be smaller than the size of the block volume
// so here we are checking if the new filesystem size is greater than
// the original volume size as the filesystem is formatted for the
Expand All @@ -1200,6 +1200,98 @@ var _ = ginkgo.Describe("[csi-supervisor-staging] Tests for WCP env with minimal
ginkgo.By("File system resize finished successfully")
})

/*
CNS Unregister volume API
*/
ginkgo.It("Staging verify cns unregister volume API", func() {
ginkgo.By("Staging verify cns unregister volume API")
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
var pvclaim *v1.PersistentVolumeClaim
var pv *v1.PersistentVolume
var err error

ginkgo.By("Creating a PVC")
storageclass, err := client.StorageV1().StorageClasses().Get(ctx, storagePolicyName, metav1.GetOptions{})
gomega.Expect(err).NotTo(gomega.HaveOccurred())

pvclaim, err = fpv.CreatePVC(ctx, client, namespace,
getPersistentVolumeClaimSpecWithStorageClass(namespace, diskSize, storageclass, nil, v1.ReadWriteOnce))
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By("Expect claim to provision volume successfully")
persistentvolumes, err := fpv.WaitForPVClaimBoundPhase(ctx, client,
[]*v1.PersistentVolumeClaim{pvclaim}, framework.ClaimProvisionTimeout)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "Failed to provision volume")
volHandle := persistentvolumes[0].Spec.CSI.VolumeHandle
gomega.Expect(volHandle).NotTo(gomega.BeEmpty())
pv = persistentvolumes[0]

defer func() {
err = fpv.DeletePersistentVolumeClaim(ctx, client, pvclaim.Name, pvclaim.Namespace)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
err = e2eVSphere.waitForCNSVolumeToBeDeleted(volHandle)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}()

ginkgo.By("Create Pod using the above PVC")
pod, vmUUID := createPODandVerifyVolumeMountWithoutF(ctx, client, namespace, pvclaim, volHandle)

defer func() {
// Delete POD
ginkgo.By(fmt.Sprintf("Deleting the pod %s in namespace %s", pod.Name, namespace))
err := fpod.DeletePodWithWait(ctx, client, pod)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

ginkgo.By(fmt.Sprintf("Verify volume: %s is detached from PodVM with vmUUID: %s",
pv.Spec.CSI.VolumeHandle, vmUUID))
_, err = e2eVSphere.getVMByUUIDWithWait(ctx, vmUUID, supervisorClusterOperationsTimeout)
gomega.Expect(err).To(gomega.HaveOccurred(),
fmt.Sprintf("PodVM with vmUUID: %s still exists. So volume: %s is not detached from the PodVM",
vmUUID, pv.Spec.CSI.VolumeHandle))

}()

// Get a config to talk to the apiserver
restConfig := getRestConfigClient()

// Get supvervisor cluster client.
_, svNamespace := getSvcClientAndNamespace()

ginkgo.By("Create CNS register volume with above created FCD")
cnsRegisterVolume := getCNSRegisterVolumeSpec(ctx, svNamespace, volHandle, "", "hello", v1.ReadWriteOnce)
err = createCNSRegisterVolume(ctx, restConfig, cnsRegisterVolume)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
framework.ExpectNoError(waitForCNSRegisterVolumeToGetCreated(ctx,
restConfig, namespace, cnsRegisterVolume, poll, supervisorClusterOperationsTimeout))
cnsRegisterVolumeName := cnsRegisterVolume.GetName()
framework.Logf("CNS register volume name : %s", cnsRegisterVolumeName)

ginkgo.By("Create CNS unregister volume with above created FCD " + volHandle)

cnsUnRegisterVolume := getCNSUnregisterVolumeSpec(namespace, volHandle)

cnsUnRegisterVolumeName := cnsUnRegisterVolume.GetName()

framework.Logf("CNS unregister volume name : %s", cnsUnRegisterVolumeName)

err = createCNSUnRegisterVolume(ctx, restConfig, cnsUnRegisterVolume)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

defer func() {
ginkgo.By("Delete CNS unregister volume CR by name " + cnsUnRegisterVolumeName)
err = deleteCNSUnRegisterVolume(ctx, restConfig, cnsUnRegisterVolume)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}()

ginkgo.By("Waiting for CNS unregister volume to be unregistered")
gomega.Expect(waitForCNSUnRegisterVolumeToGetUnregistered(ctx,
restConfig, cnsUnRegisterVolume, poll,
supervisorClusterOperationsTimeout)).To(gomega.HaveOccurred())

})

// Test for valid disk size of 2Gi
ginkgo.It("Verify dynamic provisioning of pv using storageclass with a valid disk size passes", func() {
ctx, cancel := context.WithCancel(context.Background())
Expand Down
20 changes: 11 additions & 9 deletions tests/e2e/tkgs_ha_site_down.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SiteDownTests", func() {
svcClient, svNamespace := getSvcClientAndNamespace()
setResourceQuota(svcClient, svNamespace, rqLimit)
}

readVcEsxIpsViaTestbedInfoJson(GetAndExpectStringEnvVar(envTestbedInfoJsonPath))

})
Expand Down Expand Up @@ -157,7 +158,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SiteDownTests", func() {
// Get Cluster details
clusterComputeResource, _, err := getClusterName(ctx, &e2eVSphere)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
svcMasterIp := getApiServerIpOfZone(ctx, "zone-2")
//svcMasterIp := getApiServerIpOfZone(ctx, "zone-2")
svcMasterIp := "10.43.214.217"

clusterName := getClusterNameFromZone(ctx, "zone-1")
for i := 0; i < stsCount; i++ {
Expand Down Expand Up @@ -773,15 +775,15 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SiteDownTests", func() {

ginkgo.By("Put 2 ESX hosts of AZ3 into MM - ensureObjectAccessibilty")
hostsInCluster := getHostsByClusterName(ctx, clusterComputeResource, clusterName)
for i := 0; i < len(hostsInCluster)-1; i++ {
for i := 1; i < len(hostsInCluster)-1; i++ {
enterHostIntoMM(ctx, hostsInCluster[i], ensureAccessibilityMModeType, timeout, false)
}
defer func() {
framework.Logf("Exit the hosts from MM before terminating the test")
for i := 0; i < len(hostsInCluster)-1; i++ {
exitHostMM(ctx, hostsInCluster[i], timeout)
}
}()
// defer func() {
// framework.Logf("Exit the hosts from MM before terminating the test")
// for i := 1; i < len(hostsInCluster)-1; i++ {
// exitHostMM(ctx, hostsInCluster[i], timeout)
// }
// }()

ginkgo.By("Verify SVC PVC annotations and node affinities on GC and SVC PVs")
for _, statefulset := range stsList {
Expand All @@ -790,7 +792,7 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SiteDownTests", func() {
}

ginkgo.By("Exit the hosts from MM")
for i := 0; i < len(hostsInCluster)-1; i++ {
for i := 1; i < len(hostsInCluster)-1; i++ {
exitHostMM(ctx, hostsInCluster[i], timeout)
}

Expand Down
10 changes: 5 additions & 5 deletions tests/e2e/topology_multi_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate node")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i],
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}
})
Expand Down Expand Up @@ -1165,7 +1165,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate node")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i],
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}
})
Expand Down Expand Up @@ -1674,7 +1674,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate node")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i],
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}
})
Expand Down Expand Up @@ -1915,7 +1915,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
for each StatefulSet pod */
ginkgo.By("Verify PV node affinity and that the PODS are running on appropriate node")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i], allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i], namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}
})
Expand Down Expand Up @@ -2083,7 +2083,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
for i := 0; i < len(podList); i++ {
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i], allowedTopologies)
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, podList[i], namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/topology_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ var _ = ginkgo.Describe("[topology-snapshot] Topology-Snapshot", func() {
ginkgo.By("Verify PV node affinity and that the PODS are running on " +
"appropriate node as specified in the allowed topologies of SC")
err = verifyPVnodeAffinityAndPODnodedetailsForStandalonePodLevel5(ctx, client, pod,
allowedTopologies)
namespace, allowedTopologies)
gomega.Expect(err).NotTo(gomega.HaveOccurred())

defer func() {
Expand Down
Loading

0 comments on commit f882878

Please sign in to comment.