mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
To fix flaky downward api volume e2e
This commit is contained in:
@@ -83,6 +83,7 @@ var _ = Describe("Downward API volume", func() {
|
||||
|
||||
//modify labels
|
||||
pod.Labels["key3"] = "value3"
|
||||
pod.ResourceVersion = "" // to force update
|
||||
_, err = f.Client.Pods(f.Namespace.Name).Update(pod)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
@@ -119,6 +120,7 @@ var _ = Describe("Downward API volume", func() {
|
||||
|
||||
//modify annotations
|
||||
pod.Annotations["builder"] = "foo"
|
||||
pod.ResourceVersion = "" // to force update
|
||||
_, err = f.Client.Pods(f.Namespace.Name).Update(pod)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
|
Reference in New Issue
Block a user