@@ -1296,41 +1296,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1296
1296
}},
1297
1297
},
1298
1298
{
1299
- name : "enable alpha feature EvenPodsSpread" ,
1300
- JSON : `{
1301
- "kind": "Policy",
1302
- "apiVersion": "v1",
1303
- "predicates": [
1304
- {"name": "EvenPodsSpread"}
1305
- ],
1306
- "priorities": [
1307
- {"name": "EvenPodsSpreadPriority", "weight": 2}
1308
- ]
1309
- }` ,
1310
- featureGates : map [featuregate.Feature ]bool {
1311
- features .EvenPodsSpread : true ,
1312
- },
1313
- wantPlugins : map [string ][]config.Plugin {
1314
- "QueueSortPlugin" : {{Name : "PrioritySort" }},
1315
- "PreFilterPlugin" : {
1316
- {Name : "PodTopologySpread" },
1317
- },
1318
- "FilterPlugin" : {
1319
- {Name : "NodeUnschedulable" },
1320
- {Name : "TaintToleration" },
1321
- {Name : "PodTopologySpread" },
1322
- },
1323
- "PreScorePlugin" : {
1324
- {Name : "PodTopologySpread" },
1325
- },
1326
- "ScorePlugin" : {
1327
- {Name : "PodTopologySpread" , Weight : 2 },
1328
- },
1329
- "BindPlugin" : {{Name : "DefaultBinder" }},
1330
- },
1331
- },
1332
- {
1333
- name : "enable alpha feature ResourceLimitsPriorityFunction" ,
1299
+ name : "enable alpha feature ResourceLimitsPriorityFunction and disable beta feature EvenPodsSpread" ,
1334
1300
JSON : `{
1335
1301
"kind": "Policy",
1336
1302
"apiVersion": "v1",
@@ -1340,6 +1306,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1340
1306
]
1341
1307
}` ,
1342
1308
featureGates : map [featuregate.Feature ]bool {
1309
+ features .EvenPodsSpread : false ,
1343
1310
features .ResourceLimitsPriorityFunction : true ,
1344
1311
},
1345
1312
wantPlugins : map [string ][]config.Plugin {
0 commit comments