From 5f5ce422d8605d7512728ad8df230c6c6019e123 Mon Sep 17 00:00:00 2001 From: hriships Date: Tue, 23 Jul 2019 06:28:44 +0530 Subject: [PATCH] fixes e2e tests --- test/taskrun_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/taskrun_test.go b/test/taskrun_test.go index 89fdcaaf524..02c022d35d5 100644 --- a/test/taskrun_test.go +++ b/test/taskrun_test.go @@ -79,6 +79,7 @@ func TestTaskRunFailure(t *testing.T) { }, }, Name: "hello", + Container: "step-hello", }, { ContainerState: corev1.ContainerState{ Terminated: &corev1.ContainerStateTerminated{ @@ -87,6 +88,7 @@ func TestTaskRunFailure(t *testing.T) { }, }, Name: "exit", + Container: "step-exit", }, { ContainerState: corev1.ContainerState{ Terminated: &corev1.ContainerStateTerminated{ @@ -95,6 +97,7 @@ func TestTaskRunFailure(t *testing.T) { }, }, Name: "world", + Container: "step-world", }} ignoreFields := cmpopts.IgnoreFields(corev1.ContainerStateTerminated{}, "StartedAt", "FinishedAt", "ContainerID") if d := cmp.Diff(taskrun.Status.Steps, expectedStepState, ignoreFields); d != "" {