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