mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
To fix flaky downward api volume e2e
This commit is contained in:
parent
10b6074a2c
commit
9ebe3f8b0d
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user