From fb365005da1be708cb04502e6217e97de23efe90 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Fri, 11 Jun 2021 15:44:20 +0530 Subject: [PATCH] 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 --- e2e/pvc.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e2e/pvc.go b/e2e/pvc.go index c99052ba0..332c34be8 100644 --- a/e2e/pvc.go +++ b/e2e/pvc.go @@ -69,7 +69,12 @@ func createPVCAndvalidatePV(c kubernetes.Interface, pvc *v1.PersistentVolumeClai if apierrs.IsNotFound(err) { 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 { return false, fmt.Errorf("failed to wait for the pv and pvc to bind: %w", err) }