mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
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:
parent
814da5384f
commit
b2050d1e60
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue