namespace update fails in AdmissionWebhook e2e tests #100197
Labels
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
In VMware Tanzu Supervisor Cluster k8s setup, we observed that the AdmissionWebhook tests fail intermittently while updating the namespace with the error: "the object has been modified; please apply your changes to the latest version and try again". This is because the update conflicts with an update being performed by another controller.
The test could use Patch while adding labels via types.StrategicMergePatchType to prevent the conflict.
kubernetes/test/e2e/apimachinery/webhook.go
Line 2136 in 9d59046
/sig testing
/sig api-machinery
The text was updated successfully, but these errors were encountered: