mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Update test/e2e/storage/testsuites/provisioning.go
Add missing brackets. Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
parent
2102769c14
commit
59dcddae47
@ -474,7 +474,7 @@ func (t StorageClassTest) checkProvisioning(client clientset.Interface, claim *v
|
||||
// Check sizes
|
||||
expectedCapacity := resource.MustParse(t.ExpectedSize)
|
||||
pvCapacity := pv.Spec.Capacity[v1.ResourceName(v1.ResourceStorage)]
|
||||
gomega.Expect(pvCapacity.Value()).To(gomega.BeNumerically(">=", expectedCapacity.Value), "pvCapacity is not greater or equal to expectedCapacity")
|
||||
gomega.Expect(pvCapacity.Value()).To(gomega.BeNumerically(">=", expectedCapacity.Value()), "pvCapacity is not greater or equal to expectedCapacity")
|
||||
|
||||
requestedCapacity := resource.MustParse(t.ClaimSize)
|
||||
claimCapacity := claim.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)]
|
||||
|
Loading…
Reference in New Issue
Block a user