mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 18:54:06 +00:00
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:
commit
e3bb757129
@ -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