Skip to content

Commit

Permalink
Merge pull request kubevirt#9952 from alicefr/pr-test-overhead
Browse files Browse the repository at this point in the history
tests: leave some space for metadata on the backend PVC
  • Loading branch information
kubevirt-bot authored Jun 27, 2023
2 parents d89207b + 4966d2e commit b9799d1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/storage/reservation.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,13 @@ var _ = SIGDescribe("[Serial]SCSI persistent reservation", Serial, func() {
By(fmt.Sprintf("ldconfig: stdout: %v stderr: %v", stdout, stderr))
Expect(err).ToNot(HaveOccurred())

// Create backend file
// Create backend file. Let some room for metedata and create a
// slightly smaller backend image, we use 800M instead of 1G. In
// this case, the disk size doesn't matter as the disk is used
// mostly to test the SCSI persistent reservation ioctls.
executeTargetCli(podName, []string{
"backstores/fileio",
"create", backendDisk, "/disks/disk.img", "1G"})
"create", backendDisk, "/disks/disk.img", "800M"})
executeTargetCli(podName, []string{
"loopback/", "create", naa})
// Create LUN
Expand Down

0 comments on commit b9799d1

Please sign in to comment.