@@ -74,6 +74,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
74
74
{Name : "NodeAffinity" },
75
75
{Name : "TaintToleration" },
76
76
},
77
+ "BindPlugin" : {{Name : "DefaultBinder" }},
77
78
},
78
79
},
79
80
// This is a special test for the case where a policy is specified without specifying any filters.
@@ -93,6 +94,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
93
94
{Name : "NodeUnschedulable" },
94
95
{Name : "TaintToleration" },
95
96
},
97
+ "BindPlugin" : {{Name : "DefaultBinder" }},
96
98
},
97
99
},
98
100
// Do not change this JSON after the corresponding release has been tagged.
@@ -140,6 +142,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
140
142
{Name : "DefaultPodTopologySpread" , Weight : 2 },
141
143
{Name : "ServiceAffinity" , Weight : 3 },
142
144
},
145
+ "BindPlugin" : {{Name : "DefaultBinder" }},
143
146
},
144
147
},
145
148
@@ -195,6 +198,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
195
198
{Name : "DefaultPodTopologySpread" , Weight : 2 },
196
199
{Name : "ServiceAffinity" , Weight : 6 }, // Weight is the 3 * number of custom ServiceAntiAffinity priorities
197
200
},
201
+ "BindPlugin" : {{Name : "DefaultBinder" }},
198
202
},
199
203
},
200
204
// Do not change this JSON after the corresponding release has been tagged.
@@ -259,6 +263,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
259
263
{Name : "DefaultPodTopologySpread" , Weight : 2 },
260
264
{Name : "ServiceAffinity" , Weight : 3 },
261
265
},
266
+ "BindPlugin" : {{Name : "DefaultBinder" }},
262
267
},
263
268
},
264
269
@@ -332,6 +337,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
332
337
{Name : "DefaultPodTopologySpread" , Weight : 2 },
333
338
{Name : "TaintToleration" , Weight : 2 },
334
339
},
340
+ "BindPlugin" : {{Name : "DefaultBinder" }},
335
341
},
336
342
},
337
343
@@ -409,6 +415,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
409
415
{Name : "DefaultPodTopologySpread" , Weight : 2 },
410
416
{Name : "TaintToleration" , Weight : 2 },
411
417
},
418
+ "BindPlugin" : {{Name : "DefaultBinder" }},
412
419
},
413
420
},
414
421
// Do not change this JSON after the corresponding release has been tagged.
@@ -495,6 +502,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
495
502
{Name : "DefaultPodTopologySpread" , Weight : 2 },
496
503
{Name : "TaintToleration" , Weight : 2 },
497
504
},
505
+ "BindPlugin" : {{Name : "DefaultBinder" }},
498
506
},
499
507
wantExtenders : []config.Extender {{
500
508
URLPrefix : "/prefix" ,
@@ -592,6 +600,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
592
600
{Name : "DefaultPodTopologySpread" , Weight : 2 },
593
601
{Name : "TaintToleration" , Weight : 2 },
594
602
},
603
+ "BindPlugin" : {{Name : "DefaultBinder" }},
595
604
},
596
605
wantExtenders : []config.Extender {{
597
606
URLPrefix : "/prefix" ,
@@ -691,6 +700,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
691
700
{Name : "DefaultPodTopologySpread" , Weight : 2 },
692
701
{Name : "TaintToleration" , Weight : 2 },
693
702
},
703
+ "BindPlugin" : {{Name : "DefaultBinder" }},
694
704
},
695
705
wantExtenders : []config.Extender {{
696
706
URLPrefix : "/prefix" ,
@@ -793,6 +803,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
793
803
{Name : "DefaultPodTopologySpread" , Weight : 2 },
794
804
{Name : "TaintToleration" , Weight : 2 },
795
805
},
806
+ "BindPlugin" : {{Name : "DefaultBinder" }},
796
807
},
797
808
wantExtenders : []config.Extender {{
798
809
URLPrefix : "/prefix" ,
@@ -908,6 +919,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
908
919
{Name : "DefaultPodTopologySpread" , Weight : 2 },
909
920
{Name : "TaintToleration" , Weight : 2 },
910
921
},
922
+ "BindPlugin" : {{Name : "DefaultBinder" }},
911
923
},
912
924
wantExtenders : []config.Extender {{
913
925
URLPrefix : "/prefix" ,
@@ -1025,6 +1037,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1025
1037
{Name : "DefaultPodTopologySpread" , Weight : 2 },
1026
1038
{Name : "TaintToleration" , Weight : 2 },
1027
1039
},
1040
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1028
1041
},
1029
1042
wantExtenders : []config.Extender {{
1030
1043
URLPrefix : "/prefix" ,
@@ -1142,6 +1155,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1142
1155
{Name : "DefaultPodTopologySpread" , Weight : 2 },
1143
1156
{Name : "TaintToleration" , Weight : 2 },
1144
1157
},
1158
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1145
1159
},
1146
1160
wantExtenders : []config.Extender {{
1147
1161
URLPrefix : "/prefix" ,
@@ -1263,6 +1277,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1263
1277
{Name : "DefaultPodTopologySpread" , Weight : 2 },
1264
1278
{Name : "TaintToleration" , Weight : 2 },
1265
1279
},
1280
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1266
1281
},
1267
1282
wantExtenders : []config.Extender {{
1268
1283
URLPrefix : "/prefix" ,
@@ -1309,6 +1324,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1309
1324
"ScorePlugin" : {
1310
1325
{Name : "PodTopologySpread" , Weight : 2 },
1311
1326
},
1327
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1312
1328
},
1313
1329
},
1314
1330
{
@@ -1336,6 +1352,7 @@ func TestCompatibility_v1_Scheduler(t *testing.T) {
1336
1352
"ScorePlugin" : {
1337
1353
{Name : "NodeResourceLimits" , Weight : 2 },
1338
1354
},
1355
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1339
1356
},
1340
1357
},
1341
1358
}
@@ -1438,6 +1455,7 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
1438
1455
{Name : "DefaultPodTopologySpread" , Weight : 1 },
1439
1456
{Name : "TaintToleration" , Weight : 1 },
1440
1457
},
1458
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1441
1459
}
1442
1460
1443
1461
testcases := []struct {
@@ -1497,6 +1515,7 @@ func TestAlgorithmProviderCompatibility(t *testing.T) {
1497
1515
{Name : "DefaultPodTopologySpread" , Weight : 1 },
1498
1516
{Name : "TaintToleration" , Weight : 1 },
1499
1517
},
1518
+ "BindPlugin" : {{Name : "DefaultBinder" }},
1500
1519
},
1501
1520
},
1502
1521
}
0 commit comments