Update test/e2e/storage/testsuites/provisioning.go

Add missing brackets

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
Alexander Wels 2022-01-10 07:00:21 -06:00 committed by GitHub
parent 59dcddae47
commit 8e29bb0454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,7 +478,7 @@ func (t StorageClassTest) checkProvisioning(client clientset.Interface, claim *v
requestedCapacity := resource.MustParse(t.ClaimSize)
claimCapacity := claim.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)]
gomega.Expect(claimCapacity.Value()).To(gomega.BeNumerically(">=", requestedCapacity.Value), "claimCapacity is not greater or equal to requestedCapacity")
gomega.Expect(claimCapacity.Value()).To(gomega.BeNumerically(">=", requestedCapacity.Value()), "claimCapacity is not greater or equal to requestedCapacity")
// Check PV properties
ginkgo.By("checking the PV")