
Automatic merge from submit-queue E2E: Add UpdatePod function in e2e framework and change the test to use it. Fix https://github.com/kubernetes/kubernetes/issues/28096. Some e2e tests need to update pod, but the pod update is a bit complex because of potential conflict. #28096 happened just because the test only called pod `Update` once. This PR move the update pod logic into a util function `UpdatePod` in e2e framework, and change the tests to use it. Mark P2 because the original issue is P0, but in fact happens not quite frequently. :) []() the test to use it.