Merge pull request #136856 from pohly/dra-integration-timeouts

DRA integration: bump timeouts to 1 minute
This commit is contained in:
Kubernetes Prow Robot
2026-02-10 12:59:59 +05:30
committed by GitHub
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) {