mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Delete non-need AddUnschedulableIfNotPresent in e2e
This commit is contained in:
		
				
					committed by
					
						
						Kensei Nakada
					
				
			
			
				
	
			
			
			
						parent
						
							7af5a7bfc5
						
					
				
				
					commit
					bbd5f19497
				
			@@ -105,10 +105,6 @@ func TestCoreResourceEnqueue(t *testing.T) {
 | 
			
		||||
			t.Fatalf("Expect Pod %v to fail at scheduling.", podInfo.Pod.Name)
 | 
			
		||||
		}
 | 
			
		||||
		testCtx.Scheduler.Error(podInfo, fitError)
 | 
			
		||||
 | 
			
		||||
		// Scheduling cycle is incremented by one after NextPod() is called, so
 | 
			
		||||
		// pass a number larger than i to move Pod to unschedulablePods.
 | 
			
		||||
		testCtx.Scheduler.SchedulingQueue.AddUnschedulableIfNotPresent(podInfo, int64(i+10))
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Trigger a NodeTaintChange event.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user