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

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
}