mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
svm test: wait after updating CRD to avoid flakes
Signed-off-by: Monis Khan <mok@microsoft.com>
This commit is contained in:
parent
79c61d5f03
commit
f338ab5f95
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user