@@ -148,6 +148,7 @@ func TestReconcileKind(t *testing.T) {
148
148
ConsumerGroupReplicas (2 ),
149
149
ConsumerGroupStatusReplicas (0 ),
150
150
ConsumerForTrigger (),
151
+ ConsumerGroupStatusSelector (ConsumerLabels ),
151
152
)
152
153
cg .Status .Placements = []eventingduckv1alpha1.Placement {
153
154
{PodName : "p1" , VReplicas : 1 },
@@ -234,6 +235,7 @@ func TestReconcileKind(t *testing.T) {
234
235
),
235
236
)),
236
237
ConsumerGroupReplicas (2 ),
238
+ ConsumerGroupStatusSelector (ConsumerLabels ),
237
239
ConsumerGroupStatusReplicas (0 ),
238
240
ConsumerForTrigger (),
239
241
)
@@ -340,6 +342,7 @@ func TestReconcileKind(t *testing.T) {
340
342
}),
341
343
)),
342
344
ConsumerGroupReplicas (2 ),
345
+ ConsumerGroupStatusSelector (ConsumerLabels ),
343
346
ConsumerForTrigger (),
344
347
)
345
348
cg .InitializeConditions ()
@@ -448,6 +451,7 @@ func TestReconcileKind(t *testing.T) {
448
451
}),
449
452
)),
450
453
ConsumerGroupReplicas (2 ),
454
+ ConsumerGroupStatusSelector (ConsumerLabels ),
451
455
ConsumerGroupStatusReplicas (0 ),
452
456
ConsumerForTrigger (),
453
457
)
@@ -572,6 +576,7 @@ func TestReconcileKind(t *testing.T) {
572
576
}),
573
577
)),
574
578
ConsumerGroupReplicas (2 ),
579
+ ConsumerGroupStatusSelector (ConsumerLabels ),
575
580
ConsumerGroupStatusReplicas (1 ),
576
581
ConsumerForTrigger (),
577
582
)
@@ -758,6 +763,7 @@ func TestReconcileKind(t *testing.T) {
758
763
}),
759
764
)),
760
765
ConsumerGroupReplicas (2 ),
766
+ ConsumerGroupStatusSelector (ConsumerLabels ),
761
767
ConsumerForTrigger (),
762
768
)
763
769
cg .InitializeConditions ()
@@ -974,6 +980,7 @@ func TestReconcileKind(t *testing.T) {
974
980
)),
975
981
ConsumerGroupReplicas (2 ),
976
982
ConsumerGroupStatusReplicas (1 ),
983
+ ConsumerGroupStatusSelector (ConsumerLabels ),
977
984
ConsumerForTrigger (),
978
985
)
979
986
cg .Status .Placements = []eventingduckv1alpha1.Placement {
@@ -1063,6 +1070,7 @@ func TestReconcileKind(t *testing.T) {
1063
1070
ConsumerGroupReplicas (1 ),
1064
1071
ConsumerGroupStatusReplicas (0 ),
1065
1072
ConsumerForTrigger (),
1073
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1066
1074
)
1067
1075
cg .Status .Placements = []eventingduckv1alpha1.Placement {
1068
1076
{PodName : "p1" , VReplicas : 1 },
@@ -1144,6 +1152,7 @@ func TestReconcileKind(t *testing.T) {
1144
1152
ConsumerGroupIdConfig ("my.group.id" ),
1145
1153
),
1146
1154
)),
1155
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1147
1156
ConsumerGroupReplicas (2 ),
1148
1157
ConsumerGroupStatusReplicas (0 ),
1149
1158
ConsumerForTrigger (),
@@ -1230,6 +1239,7 @@ func TestReconcileKind(t *testing.T) {
1230
1239
ConsumerGroupIdConfig ("my.group.id" ),
1231
1240
),
1232
1241
)),
1242
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1233
1243
ConsumerGroupReplicas (2 ),
1234
1244
ConsumerGroupStatusReplicas (1 ),
1235
1245
ConsumerForTrigger (),
@@ -1358,6 +1368,7 @@ func TestReconcileKind(t *testing.T) {
1358
1368
ConsumerInitialOffset (sources .OffsetLatest ),
1359
1369
)),
1360
1370
)),
1371
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1361
1372
ConsumerGroupReplicas (3 ),
1362
1373
ConsumerForTrigger (),
1363
1374
)
@@ -1468,6 +1479,7 @@ func TestReconcileKind(t *testing.T) {
1468
1479
ConsumerGroupIdConfig ("my.group.id" ),
1469
1480
),
1470
1481
)),
1482
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1471
1483
ConsumerGroupReplicas (3 ),
1472
1484
ConsumerForTrigger (),
1473
1485
)
@@ -1577,6 +1589,7 @@ func TestReconcileKind(t *testing.T) {
1577
1589
ConsumerGroupIdConfig ("my.group.id" ),
1578
1590
),
1579
1591
)),
1592
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1580
1593
ConsumerGroupReplicas (2 ),
1581
1594
ConsumerForTrigger (),
1582
1595
)
@@ -1640,6 +1653,7 @@ func TestReconcileKind(t *testing.T) {
1640
1653
),
1641
1654
)),
1642
1655
ConsumerGroupReplicas (2 ),
1656
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1643
1657
ConsumerForTrigger (),
1644
1658
)
1645
1659
cg .GetConditionSet ().Manage (cg .GetStatus ()).InitializeConditions ()
@@ -1776,6 +1790,7 @@ func TestReconcileKindNoAutoscaler(t *testing.T) {
1776
1790
),
1777
1791
)),
1778
1792
ConsumerGroupReplicas (2 ),
1793
+ ConsumerGroupStatusSelector (ConsumerLabels ),
1779
1794
ConsumerGroupStatusReplicas (1 ),
1780
1795
ConsumerForTrigger (),
1781
1796
)
0 commit comments