DRA integration: bump timeouts to 1 minute

The 30 second timeouts in binding condition testing recently flaked, probably
related to increasing parallelism in integration test jobs.
This commit is contained in:
Patrick Ohly
2026-02-09 13:18:50 +01:00
parent 2023f445ec
commit 2238a33655
2 changed files with 3 additions and 3 deletions

View File

@@ -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",
)

View File

@@ -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) {