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.
This commit is contained in:
Davanum Srinivas 2026-03-17 09:12:04 -04:00
parent 814da5384f
commit b2050d1e60
No known key found for this signature in database
GPG key ID: 6DEA177048756885

View file

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