From 2238a336551fa537388e5b013ad9fae2c56e9eb2 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 9 Feb 2026 13:18:50 +0100 Subject: [PATCH] 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. --- test/integration/dra/binding_conditions_test.go | 4 ++-- test/integration/dra/dra_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 539ffdf5f3e..1a1ad21febb 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) {