Skip to content

Commit 08a7bd8

Browse files
authored
fixes (#3637)
1 parent 0dbe7b7 commit 08a7bd8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/e2e/e2e_common.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const (
6363
disklibUnlinkErr = "DiskLib_Unlink"
6464
diskSize1GB = "1Gi"
6565
diskSize = "2Gi"
66+
diskSize4GB = "4Gi"
6667
diskSizeSmall = "100Mi"
6768
diskSizeLarge = "100Gi"
6869
diskSizeInMb = int64(2048)

tests/e2e/raw_block_volume.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,9 @@ var _ = ginkgo.Describe("raw block volume support", func() {
739739
ginkgo.By("Creating raw block PVC")
740740
pvcspec := getPersistentVolumeClaimSpecWithStorageClass(namespace, "", sc, nil, "")
741741
pvcspec.Spec.VolumeMode = &rawBlockVolumeMode
742+
diskSize := resource.MustParse(diskSize4GB)
743+
pvcspec.Spec.Resources.Requests[corev1.ResourceStorage] = diskSize
744+
742745
pvc, err = fpv.CreatePVC(ctx, client, namespace, pvcspec)
743746
gomega.Expect(err).NotTo(gomega.HaveOccurred(), fmt.Sprintf("Failed to create pvc with err: %v", err))
744747

0 commit comments

Comments
 (0)