mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Add comment for 0th case
This commit is contained in:
		@@ -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,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user