@@ -3,14 +3,15 @@ package test
33import (
44 "context"
55 "fmt"
6- "testing"
76 "strings"
7+ "testing"
8+
9+ "github.com/cloudposse/test-helpers/pkg/atmos"
810 helper "github.com/cloudposse/test-helpers/pkg/atmos/component-helper"
911 awsHelper "github.com/cloudposse/test-helpers/pkg/aws"
10- "github.com/cloudposse/test-helpers/pkg/atmos"
1112 "github.com/cloudposse/test-helpers/pkg/helm"
12- "github.com/stretchr/testify/assert"
1313 "github.com/gruntwork-io/terratest/modules/random"
14+ "github.com/stretchr/testify/assert"
1415
1516 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1617 aggregatorclientset "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset"
@@ -44,21 +45,20 @@ func (s *ComponentSuite) TestBasic() {
4445 assert .Equal (s .T (), len (metadataArray ), 1 )
4546 metadata := metadataArray [0 ]
4647
47- assert .Equal (s .T (), metadata .AppVersion , "0.6.2 " )
48+ assert .Equal (s .T (), metadata .AppVersion , "0.6.4 " )
4849 assert .Equal (s .T (), metadata .Chart , "metrics-server" )
4950 assert .NotNil (s .T (), metadata .FirstDeployed )
5051 assert .NotNil (s .T (), metadata .LastDeployed )
5152 assert .Equal (s .T (), metadata .Name , "metrics-server" )
5253 assert .Equal (s .T (), metadata .Namespace , namespace )
5354 assert .NotNil (s .T (), metadata .Values )
54- assert .Equal (s .T (), metadata .Version , "6.2.6 " )
55+ assert .Equal (s .T (), metadata .Version , "3.11.0 " )
5556
5657 clusterOptions := s .GetAtmosOptions ("eks/cluster" , stack , nil )
5758 clusrerId := atmos .Output (s .T (), clusterOptions , "eks_cluster_id" )
5859
5960 cluster := awsHelper .GetEksCluster (s .T (), context .Background (), awsRegion , clusrerId )
6061
61-
6262 config , err := awsHelper .NewK8SClientConfig (cluster )
6363 assert .NoError (s .T (), err )
6464 assert .NotNil (s .T (), config )
0 commit comments