From 0c37b630e8ba566357e78c34aad1870a27c05b45 Mon Sep 17 00:00:00 2001 From: jennybuckley Date: Thu, 29 Mar 2018 12:11:06 -0700 Subject: [PATCH] Remove ActiveDeadlineSeconds from watch e2e test --- test/e2e/apimachinery/watch.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/e2e/apimachinery/watch.go b/test/e2e/apimachinery/watch.go index b8e178d6dae..9792cd93ccc 100644 --- a/test/e2e/apimachinery/watch.go +++ b/test/e2e/apimachinery/watch.go @@ -64,7 +64,6 @@ var _ = SIGDescribe("Watchers", func() { }, }, Spec: v1.PodSpec{ - ActiveDeadlineSeconds: int64ptr(20), Containers: []v1.Container{ { Name: "example", @@ -81,7 +80,6 @@ var _ = SIGDescribe("Watchers", func() { }, }, Spec: v1.PodSpec{ - ActiveDeadlineSeconds: int64ptr(20), Containers: []v1.Container{ { Name: "example", @@ -97,7 +95,7 @@ var _ = SIGDescribe("Watchers", func() { expectNoEvent(watchB, watch.Added, testPodA) testPodA, err = updatePod(f, testPodA.GetName(), func(p *v1.Pod) { - p.Spec.ActiveDeadlineSeconds = int64ptr(10) + p.ObjectMeta.Labels["mutation"] = "1" }) Expect(err).NotTo(HaveOccurred()) expectEvent(watchA, watch.Modified, testPodA) @@ -105,7 +103,7 @@ var _ = SIGDescribe("Watchers", func() { expectNoEvent(watchB, watch.Modified, testPodA) testPodA, err = updatePod(f, testPodA.GetName(), func(p *v1.Pod) { - p.Spec.ActiveDeadlineSeconds = int64ptr(5) + p.ObjectMeta.Labels["mutation"] = "2" }) Expect(err).NotTo(HaveOccurred()) expectEvent(watchA, watch.Modified, testPodA)