Skip to content

Commit

Permalink
chore: resolve code coverage decrease
Browse files Browse the repository at this point in the history
  • Loading branch information
l-qing committed Jun 6, 2024
1 parent e4f2012 commit 54fd9fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/pod/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1793,6 +1793,12 @@ func TestMakeTaskRunStatus_SidecarNotCompleted(t *testing.T) {
podStatus: corev1.PodStatus{
Phase: corev1.PodRunning,
ContainerStatuses: []corev1.ContainerStatus{
{
Name: "other-prefix-container",
State: corev1.ContainerState{
Terminated: nil,
},
},
{
Name: "step-bar",
State: corev1.ContainerState{
Expand Down Expand Up @@ -1864,6 +1870,8 @@ func TestMakeTaskRunStatus_SidecarNotCompleted(t *testing.T) {
},
Spec: corev1.PodSpec{
Containers: []corev1.Container{{
Name: "other-prefix-container",
}, {
Name: "step-bar",
}, {
Name: "sidecar-tekton-log-results",
Expand Down

0 comments on commit 54fd9fd

Please sign in to comment.