mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #113141 from dobsonj/csi-inline-pod-test-flake
test: remove flaky pod update test in CSIInlineVolumes e2e
This commit is contained in:
commit
bb12faf15b
@ -200,13 +200,6 @@ var _ = utils.SIGDescribe("CSIInlineVolumes", func() {
|
||||
framework.ExpectNoError(err)
|
||||
framework.ExpectEqual(patchedPod.Annotations["patched"], "true", "patched object should have the applied annotation")
|
||||
|
||||
ginkgo.By("updating")
|
||||
podToUpdate := patchedPod.DeepCopy()
|
||||
podToUpdate.Annotations["updated"] = "true"
|
||||
updatedPod, err := client.Update(context.TODO(), podToUpdate, metav1.UpdateOptions{})
|
||||
framework.ExpectNoError(err)
|
||||
framework.ExpectEqual(updatedPod.Annotations["updated"], "true", "updated object should have the applied annotation")
|
||||
|
||||
ginkgo.By("deleting")
|
||||
err = client.Delete(context.TODO(), createdPod.Name, metav1.DeleteOptions{})
|
||||
framework.ExpectNoError(err)
|
||||
|
Loading…
Reference in New Issue
Block a user