Skip to content

Commit

Permalink
test-fix-sts
Browse files Browse the repository at this point in the history
  • Loading branch information
rajguptavm committed Nov 4, 2024
1 parent bff6339 commit 16c089e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/e2e/volume_health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,9 @@ var _ = ginkgo.Describe("Volume health check", func() {
replicas := *(statefulset.Spec.Replicas)
// Waiting for pods status to be Ready.
fss.WaitForStatusReadyReplicas(ctx, client, statefulset, replicas)
gomega.Expect(fss.CheckMount(ctx, client, statefulset, mountPath)).NotTo(gomega.HaveOccurred())
if !windowsEnv {
gomega.Expect(fss.CheckMount(ctx, client, statefulset, mountPath)).NotTo(gomega.HaveOccurred())
}
ssPodsBeforeScaleDown := fss.GetPodList(ctx, client, statefulset)
gomega.Expect(ssPodsBeforeScaleDown.Items).NotTo(gomega.BeEmpty(),
fmt.Sprintf("Unable to get list of Pods from the Statefulset: %v", statefulset.Name))
Expand Down
5 changes: 3 additions & 2 deletions tests/e2e/vsphere_volume_expansion.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ var _ = ginkgo.Describe("Volume Expansion Test", func() {
defaultDatastore = getDefaultDatastore(ctx)

if guestCluster {
svcClient, svNamespace := getSvcClientAndNamespace()
setResourceQuota(svcClient, svNamespace, rqLimit)
// svcClient, svNamespace := getSvcClientAndNamespace()
_, _ = getSvcClientAndNamespace()
// setResourceQuota(svcClient, svNamespace, rqLimit)
}

if windowsEnv {
Expand Down

0 comments on commit 16c089e

Please sign in to comment.