fix: disable SchedulerQueueingHints feature flag by default
This commit is contained in:
		@@ -1176,7 +1176,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	ElasticIndexedJob: {Default: true, PreRelease: featuregate.Beta},
 | 
						ElasticIndexedJob: {Default: true, PreRelease: featuregate.Beta},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	SchedulerQueueingHints: {Default: true, PreRelease: featuregate.Beta},
 | 
						SchedulerQueueingHints: {Default: false, PreRelease: featuregate.Beta},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	SecurityContextDeny: {Default: false, PreRelease: featuregate.Alpha},
 | 
						SecurityContextDeny: {Default: false, PreRelease: featuregate.Alpha},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1363,6 +1363,8 @@ func TestPriorityQueue_MoveAllToActiveOrBackoffQueue(t *testing.T) {
 | 
				
			|||||||
	ctx, cancel := context.WithCancel(ctx)
 | 
						ctx, cancel := context.WithCancel(ctx)
 | 
				
			||||||
	defer cancel()
 | 
						defer cancel()
 | 
				
			||||||
	m := makeEmptyQueueingHintMapPerProfile()
 | 
						m := makeEmptyQueueingHintMapPerProfile()
 | 
				
			||||||
 | 
						defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SchedulerQueueingHints, true)()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	m[""][NodeAdd] = []*QueueingHintFunction{
 | 
						m[""][NodeAdd] = []*QueueingHintFunction{
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			PluginName:     "fooPlugin",
 | 
								PluginName:     "fooPlugin",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -536,6 +536,7 @@ func (p *firstFailBindPlugin) Bind(ctx context.Context, state *framework.CycleSt
 | 
				
			|||||||
// TestRequeueByPermitRejection verify Pods failed by permit plugins in the binding cycle are
 | 
					// TestRequeueByPermitRejection verify Pods failed by permit plugins in the binding cycle are
 | 
				
			||||||
// put back to the queue, according to the correct scheduling cycle number.
 | 
					// put back to the queue, according to the correct scheduling cycle number.
 | 
				
			||||||
func TestRequeueByPermitRejection(t *testing.T) {
 | 
					func TestRequeueByPermitRejection(t *testing.T) {
 | 
				
			||||||
 | 
						defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SchedulerQueueingHints, true)()
 | 
				
			||||||
	queueingHintCalledCounter := 0
 | 
						queueingHintCalledCounter := 0
 | 
				
			||||||
	fakePermit := &fakePermitPlugin{}
 | 
						fakePermit := &fakePermitPlugin{}
 | 
				
			||||||
	registry := frameworkruntime.Registry{
 | 
						registry := frameworkruntime.Registry{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user