Skip to content

Commit 432edbd

Browse files
authored
Add detailed comments for tests
1 parent ef62673 commit 432edbd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/deploy/elbv2/tagging_manager_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ func Test_defaultTaggingManager_ListLoadBalancers(t *testing.T) {
266266
wantErr error
267267
}{
268268
{
269-
name: "2/3 loadBalancers matches single tagFilter",
269+
name: "2/3 loadBalancers matches single tagFilter; 0 loadBalancers filtered out on VPC ID",
270270
fields: fields{
271271
describeLoadBalancersAsListCalls: []describeLoadBalancersAsListCall{
272272
{
@@ -363,7 +363,7 @@ func Test_defaultTaggingManager_ListLoadBalancers(t *testing.T) {
363363
},
364364
},
365365
{
366-
name: "1/3 loadBalancers matches single tagFilter",
366+
name: "1/3 loadBalancers matches single tagFilter; 1 loadBalancer filtered out on VPC ID",
367367
fields: fields{
368368
describeLoadBalancersAsListCalls: []describeLoadBalancersAsListCall{
369369
{
@@ -440,7 +440,7 @@ func Test_defaultTaggingManager_ListLoadBalancers(t *testing.T) {
440440
},
441441
},
442442
{
443-
name: "1/3 loadBalancers matches single tagFilter",
443+
name: "1/3 loadBalancers matches single tagFilter; 2 loadBalancers filtered out on VPC ID",
444444
fields: fields{
445445
describeLoadBalancersAsListCalls: []describeLoadBalancersAsListCall{
446446
{
@@ -504,7 +504,7 @@ func Test_defaultTaggingManager_ListLoadBalancers(t *testing.T) {
504504
},
505505
},
506506
{
507-
name: "0/3 loadBalancers matches single tagFilter",
507+
name: "0/3 loadBalancers matches single tagFilter; 0 loadBalancers filtered out on VPC ID",
508508
fields: fields{
509509
describeLoadBalancersAsListCalls: []describeLoadBalancersAsListCall{
510510
{
@@ -640,7 +640,7 @@ func Test_defaultTaggingManager_ListTargetGroups(t *testing.T) {
640640
wantErr error
641641
}{
642642
{
643-
name: "2/3 targetGroups matches single tagFilter",
643+
name: "2/3 targetGroups matches single tagFilter; 0 targetGroups filtered out on VPC ID",
644644
fields: fields{
645645
describeTargetGroupsAsListCalls: []describeTargetGroupsAsListCall{
646646
{
@@ -737,7 +737,7 @@ func Test_defaultTaggingManager_ListTargetGroups(t *testing.T) {
737737
},
738738
},
739739
{
740-
name: "1/3 targetGroups matches single tagFilter",
740+
name: "1/3 targetGroups matches single tagFilter; 1 targetGroup filtered out on VPC ID",
741741
fields: fields{
742742
describeTargetGroupsAsListCalls: []describeTargetGroupsAsListCall{
743743
{
@@ -814,7 +814,7 @@ func Test_defaultTaggingManager_ListTargetGroups(t *testing.T) {
814814
},
815815
},
816816
{
817-
name: "1/3 targetGroups matches single tagFilter",
817+
name: "1/3 targetGroups matches single tagFilter; 2 targetGroups filtered out on VPC ID",
818818
fields: fields{
819819
describeTargetGroupsAsListCalls: []describeTargetGroupsAsListCall{
820820
{
@@ -878,7 +878,7 @@ func Test_defaultTaggingManager_ListTargetGroups(t *testing.T) {
878878
},
879879
},
880880
{
881-
name: "0/3 targetGroups matches single tagFilter",
881+
name: "0/3 targetGroups matches single tagFilter; 0 targetGroups filtered out on VPC ID",
882882
fields: fields{
883883
describeTargetGroupsAsListCalls: []describeTargetGroupsAsListCall{
884884
{

0 commit comments

Comments
 (0)