From b2050d1e609046f6709c76d38191760ea71dbbb3 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Tue, 17 Mar 2026 09:12:04 -0400 Subject: [PATCH] test/integration/storageversionmigrator: wait longer for CRD updates TestStorageVersionMigrationWithCRD can time out in waitForCRDUpdate while waiting for the expected served versions and storage version hash to appear in discovery. Increase the wait budget from 60 seconds to 2 minutes so the test keeps checking the same CRD update condition without failing on slower controller and discovery propagation. --- test/integration/storageversionmigrator/util.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/storageversionmigrator/util.go b/test/integration/storageversionmigrator/util.go index e2c64f593a5..4778a6b9fa2 100644 --- a/test/integration/storageversionmigrator/util.go +++ b/test/integration/storageversionmigrator/util.go @@ -800,7 +800,9 @@ func (svm *svmTest) waitForCRDUpdate( err := wait.PollUntilContextTimeout( ctx, 500*time.Millisecond, - time.Second*60, + // CRD discovery and storage-version reporting can lag well beyond 1 minute + // on contended CI nodes while the apiextensions controllers converge. + 2*time.Minute, true, func(ctx context.Context) (bool, error) { apiGroups, _, err := svm.discoveryClient.ServerGroupsAndResources()