From e954eeb25576ff378291ff84a3639dce8aa2daf6 Mon Sep 17 00:00:00 2001 From: Daniil Loktev Date: Sat, 8 Oct 2022 12:06:42 +0300 Subject: [PATCH] Add comment for 0th case --- pkg/kubelet/active_deadline_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kubelet/active_deadline_test.go b/pkg/kubelet/active_deadline_test.go index 3b246975c22..05f8f7485da 100644 --- a/pkg/kubelet/active_deadline_test.go +++ b/pkg/kubelet/active_deadline_test.go @@ -70,6 +70,7 @@ func TestNewActiveDeadlineHandler(t *testing.T) { for i, testCase := range testCases { actual, err := newActiveDeadlineHandler(testCase.podStatusProvider, testCase.recorder, testCase.clock) + // 0th case is the only one expected to pass, and is kept for coverage and confidence check if i == 0 { expected := &activeDeadlineHandler{ clock: fakeClock,