Skip to content

Commit bb3c0ae

Browse files
authored
Merge pull request #3818 from kavyashree-r/wcp-regression-fix
Added wait time for the storage quota details to get updated
2 parents 739ee02 + 61609f7 commit bb3c0ae

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

tests/e2e/csi_static_provisioning_basic.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@ var _ = ginkgo.Describe("Basic Static Provisioning", func() {
910910
gomega.Expect(exists).To(gomega.BeTrue(), fmt.Sprintf("Pod doesn't have %s annotation", vmUUIDLabel))
911911
_, err = e2eVSphere.getVMByUUID(ctx, vmUUID)
912912
gomega.Expect(err).NotTo(gomega.HaveOccurred())
913+
time.Sleep(pollTimeoutShort)
913914

914915
diskSizeInMbstr := convertInt64ToStrMbFormat(diskSizeInMb)
915916
if isQuotaValidationSupported {
@@ -1056,6 +1057,7 @@ var _ = ginkgo.Describe("Basic Static Provisioning", func() {
10561057
gomega.Expect(err).To(gomega.HaveOccurred(),
10571058
fmt.Sprintf("PodVM with vmUUID: %s still exists. So volume: %s is not detached from the PodVM",
10581059
vmUUID, pv.Spec.CSI.VolumeHandle))
1060+
time.Sleep(pollTimeoutShort)
10591061
defer func() {
10601062
testCleanUpUtil(ctx, restConfig, cnsRegisterVolume, namespace, pvc.Name, pv.Name)
10611063
if isQuotaValidationSupported {

tests/e2e/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7005,7 +7005,7 @@ func checkVcServicesHealthPostReboot(ctx context.Context, host string, timeout .
70057005
addr := ip + ":" + portNum
70067006

70077007
//list of default stopped services in VC
7008-
var defaultStoppedServicesList = []string{"vmcam", "vmware-imagebuilder", "vmware-netdumper",
7008+
var defaultStoppedServicesList = []string{"vc-salt", "vmcam", "vmware-imagebuilder", "vmware-netdumper",
70097009
"vmware-rbd-watchdog", "vmware-vcha"}
70107010
waitErr := wait.PollUntilContextTimeout(ctx, pollTimeoutShort, pollTime, true,
70117011
func(ctx context.Context) (bool, error) {

tests/e2e/vsphere_volume_expansion.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,7 @@ var _ = ginkgo.Describe("Volume Expansion Test", func() {
982982

983983
pvcConditions := pvclaim.Status.Conditions
984984
expectEqual(len(pvcConditions), 0, "pvc should not have conditions")
985+
time.Sleep(pollTimeoutShort)
985986

986987
ginkgo.By("Verify filesystem size for mount point /mnt/volume1")
987988
fsSize, err = getFileSystemSizeForOsType(f, client, pod)

0 commit comments

Comments
 (0)