@@ -26,7 +26,6 @@ import (
26
26
"github.com/vmware-tanzu/load-balancer-operator-for-kubernetes/pkg/ako"
27
27
ako_operator "github.com/vmware-tanzu/load-balancer-operator-for-kubernetes/pkg/ako-operator"
28
28
"github.com/vmware-tanzu/load-balancer-operator-for-kubernetes/pkg/test/builder"
29
- "github.com/vmware-tanzu/load-balancer-operator-for-kubernetes/pkg/test/util"
30
29
testutil "github.com/vmware-tanzu/load-balancer-operator-for-kubernetes/pkg/test/util"
31
30
)
32
31
@@ -352,7 +351,7 @@ func intgTestAkoDeploymentConfigController() {
352
351
err := os .Setenv (ako_operator .IsControlPlaneHAProvider , "False" )
353
352
Expect (err ).ShouldNot (HaveOccurred ())
354
353
})
355
- It ("shouldn't wait AIS if controlplane and dataplane has the same CIDR" , func () {
354
+ It ("shouldn't wait for AIS if controlplane and dataplane has the same CIDR" , func () {
356
355
akoDeploymentConfig .Spec .ControlPlaneNetwork .CIDR = akoDeploymentConfig .Spec .DataNetwork .CIDR
357
356
createObjects (akoDeploymentConfig , cluster , controllerCredentials , controllerCA )
358
357
aviInfraSettingName = akoDeploymentConfig .Name + "-ais"
@@ -369,7 +368,7 @@ func intgTestAkoDeploymentConfigController() {
369
368
Expect (service .Annotations [akoov1alpha1 .HAAVIInfraSettingAnnotationsKey ]).To (BeEmpty ())
370
369
371
370
})
372
- It ("should wait AIS before adding annotation to service" , func () {
371
+ It ("should wait for AIS before adding annotation to service" , func () {
373
372
createObjects (akoDeploymentConfig , cluster , controllerCredentials , controllerCA )
374
373
aviInfraSettingName = akoDeploymentConfig .Name + "-ais"
375
374
ensureRuntimeObjectMatchExpectation (client.ObjectKey {
@@ -756,7 +755,7 @@ func intgTestAkoDeploymentConfigController() {
756
755
}, & akoov1alpha1.AKODeploymentConfig {}, true )
757
756
758
757
ensureRuntimeObjectMatchExpectation (client.ObjectKey {
759
- Name : util .CustomADCName ,
758
+ Name : testutil .CustomADCName ,
760
759
}, & akoov1alpha1.AKODeploymentConfig {}, true )
761
760
})
762
761
@@ -775,7 +774,7 @@ func intgTestAkoDeploymentConfigController() {
775
774
ensureClusterAviLabelValueMatchExpectation (client.ObjectKey {
776
775
Name : cluster .Name ,
777
776
Namespace : cluster .Namespace ,
778
- }, akoov1alpha1 .AviClusterLabel , util .CustomADCName , true )
777
+ }, akoov1alpha1 .AviClusterLabel , testutil .CustomADCName , true )
779
778
780
779
By ("removing cluster's label" )
781
780
latestCluster := & clusterv1.Cluster {
@@ -814,7 +813,7 @@ func intgTestAkoDeploymentConfigController() {
814
813
}, & akoov1alpha1.AKODeploymentConfig {}, true )
815
814
816
815
ensureRuntimeObjectMatchExpectation (client.ObjectKey {
817
- Name : util .CustomADCName ,
816
+ Name : testutil .CustomADCName ,
818
817
}, & akoov1alpha1.AKODeploymentConfig {}, true )
819
818
})
820
819
@@ -833,7 +832,7 @@ func intgTestAkoDeploymentConfigController() {
833
832
ensureClusterAviLabelValueMatchExpectation (client.ObjectKey {
834
833
Name : cluster .Name ,
835
834
Namespace : cluster .Namespace ,
836
- }, akoov1alpha1 .AviClusterLabel , util .CustomADCName , true )
835
+ }, akoov1alpha1 .AviClusterLabel , testutil .CustomADCName , true )
837
836
838
837
By ("removing cluster's label" )
839
838
latestCluster := & clusterv1.Cluster {
0 commit comments