diff --git a/test/integration/dra/binding_conditions_test.go b/test/integration/dra/binding_conditions_test.go index dd8c44d259c..b91fc775cd3 100644 --- a/test/integration/dra/binding_conditions_test.go +++ b/test/integration/dra/binding_conditions_test.go @@ -187,7 +187,7 @@ func testDeviceBindingConditionsBasicFlow(tCtx ktesting.TContext, enabled bool) tCtx.ExpectNoError(err, "add binding failure condition to second claim") // Then wait until the scheduler has cleared the device statuses again. - waitForClaim(tCtx, namespace, claim2.Name, 30*time.Second, + waitForClaim(tCtx, namespace, claim2.Name, schedulingTimeout, gomega.HaveField("Status.Devices", gomega.HaveLen(0)), "claim should have cleared device conditions after rescheduling", ) @@ -358,7 +358,7 @@ func testDeviceBindingFailureConditionsReschedule(tCtx ktesting.TContext, useTai tCtx.ExpectNoError(err, "add binding failure condition to claim") // Then wait until the scheduler has cleared the device statuses again. - waitForClaim(tCtx, namespace, claim1.Name, 30*time.Second, + waitForClaim(tCtx, namespace, claim1.Name, schedulingTimeout, gomega.HaveField("Status.Devices", gomega.HaveLen(0)), "claim should have cleared device conditions after rescheduling", ) diff --git a/test/integration/dra/dra_test.go b/test/integration/dra/dra_test.go index 875019f73c2..c4e6aa872d3 100644 --- a/test/integration/dra/dra_test.go +++ b/test/integration/dra/dra_test.go @@ -112,7 +112,7 @@ const ( // schedulingTimeout is the time we grant the scheduler for one scheduling attempt, // whether it's successful or not. - schedulingTimeout = 30 * time.Second + schedulingTimeout = time.Minute ) func TestDRA(t *testing.T) {