Skip to content

Commit 7226cf3

Browse files
committed
Fix debendabot bumps in root & /test directory
1 parent 09a9efd commit 7226cf3

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

test/e2e/specs/specs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,9 +1119,9 @@ func (t *TestJob) WaitForJobPodsSucceeded(ctx context.Context) {
11191119
framework.ExpectNoError(err)
11201120
}
11211121

1122-
func (t *TestJob) WaitForJobFailed() {
1122+
func (t *TestJob) WaitForJobFailed(ctx context.Context) {
11231123
framework.Logf("Waiting Job %s to fail", t.job.Name)
1124-
err := e2ejob.WaitForJobFailed(t.client, t.namespace.Name, t.job.Name)
1124+
err := e2ejob.WaitForJobFailed(ctx, t.client, t.namespace.Name, t.job.Name)
11251125
framework.ExpectNoError(err)
11261126
}
11271127

test/e2e/testsuites/workloads.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ import (
2222
"fmt"
2323
"strings"
2424

25+
"local/test/e2e/specs"
26+
2527
"github.com/onsi/ginkgo/v2"
2628
corev1 "k8s.io/api/core/v1"
2729
utilerrors "k8s.io/apimachinery/pkg/util/errors"
2830
"k8s.io/kubernetes/test/e2e/framework"
2931
e2evolume "k8s.io/kubernetes/test/e2e/framework/volume"
3032
storageframework "k8s.io/kubernetes/test/e2e/storage/framework"
3133
admissionapi "k8s.io/pod-security-admission/api"
32-
"local/test/e2e/specs"
3334
)
3435

3536
type gcsFuseCSIWorkloadsTestSuite struct {
@@ -247,7 +248,7 @@ func (t *gcsFuseCSIWorkloadsTestSuite) DefineTests(driver storageframework.TestD
247248
defer tJob.Cleanup(ctx)
248249

249250
ginkgo.By("Checking that the job is in failed status")
250-
tJob.WaitForJobFailed()
251+
tJob.WaitForJobFailed(ctx)
251252

252253
ginkgo.By("The pod should terminate fast")
253254
tJob.WaitForAllJobPodsGone(ctx)

0 commit comments

Comments
 (0)