Merge pull request #124143 from enj/enj/i/svm_update_crd_flake

svm test: wait after updating CRD to avoid flakes
This commit is contained in:
Kubernetes Prow Robot 2024-04-01 14:19:35 -07:00 committed by GitHub
commit e3bb757129
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -773,6 +773,10 @@ func (svm *svmTest) updateCRD(
t.Fatalf("Failed to get CRD: %v", err)
}
// TODO: wrap all actions after updateCRD with wait loops so we do not need this sleep
// it is currently necessary because we update the CRD but do not otherwise guarantee that the updated config is active
time.Sleep(10 * time.Second)
return crd
}