mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
e2e: update e2epv.WaitOnPVandPVC() to match new parameters
Added &framework.TimeoutContext{ClaimBound: timeout, PVBound: timeout} to parameters of function call in updated package. Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
parent
9eaa55506f
commit
fb365005da
@ -69,7 +69,12 @@ func createPVCAndvalidatePV(c kubernetes.Interface, pvc *v1.PersistentVolumeClai
|
|||||||
if apierrs.IsNotFound(err) {
|
if apierrs.IsNotFound(err) {
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
err = e2epv.WaitOnPVandPVC(c, pvc.Namespace, pv, pvc)
|
err = e2epv.WaitOnPVandPVC(
|
||||||
|
c,
|
||||||
|
&framework.TimeoutContext{ClaimBound: timeout, PVBound: timeout},
|
||||||
|
pvc.Namespace,
|
||||||
|
pv,
|
||||||
|
pvc)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, fmt.Errorf("failed to wait for the pv and pvc to bind: %w", err)
|
return false, fmt.Errorf("failed to wait for the pv and pvc to bind: %w", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user