svm test: wait after updating CRD to avoid flakes

Signed-off-by: Monis Khan <mok@microsoft.com>
This commit is contained in:
Monis Khan 2024-04-01 16:15:29 -04:00
parent 79c61d5f03
commit f338ab5f95
No known key found for this signature in database

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
}