mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Add comment for 0th case
This commit is contained in:
parent
229ce27ae4
commit
e954eeb255
@ -70,6 +70,7 @@ func TestNewActiveDeadlineHandler(t *testing.T) {
|
|||||||
for i, testCase := range testCases {
|
for i, testCase := range testCases {
|
||||||
actual, err := newActiveDeadlineHandler(testCase.podStatusProvider, testCase.recorder, testCase.clock)
|
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 {
|
if i == 0 {
|
||||||
expected := &activeDeadlineHandler{
|
expected := &activeDeadlineHandler{
|
||||||
clock: fakeClock,
|
clock: fakeClock,
|
||||||
|
Loading…
Reference in New Issue
Block a user