Remove ActiveDeadlineSeconds from watch e2e test

This commit is contained in:
jennybuckley
2018-03-29 12:11:06 -07:00
parent cad4385cb0
commit 0c37b630e8

View File

@@ -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)