Skip to content

Commit

Permalink
Use version 0.0.0 for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lisguo committed Jan 24, 2024
1 parent 72a4746 commit 00a588c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/manifests/collector/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestDesiredConfigMap(t *testing.T) {
t.Run("should return expected cwagent config map", func(t *testing.T) {
expectedLables["app.kubernetes.io/component"] = "amazon-cloudwatch-agent"
expectedLables["app.kubernetes.io/name"] = "test-agent"
expectedLables["app.kubernetes.io/version"] = "1.300031.1b317"
expectedLables["app.kubernetes.io/version"] = "0.0.0"

expectedData := map[string]string{
"cwagentconfig.json": `{"logs":{"metrics_collected":{"app_signals":{},"kubernetes":{"enhanced_container_insights":true}}},"traces":{"traces_collected":{"app_signals":{}}}}`,
Expand Down
2 changes: 1 addition & 1 deletion internal/manifests/collector/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func paramsWithMode(mode v1alpha1.Mode) manifests.Params {
UID: instanceUID,
},
Spec: v1alpha1.AmazonCloudWatchAgentSpec{
Image: "public.ecr.aws/cloudwatch-agent/cloudwatch-agent:1.300031.1b317",
Image: "public.ecr.aws/cloudwatch-agent/cloudwatch-agent:0.0.0",
Ports: []v1.ServicePort{{
Name: "web",
Port: 80,
Expand Down

0 comments on commit 00a588c

Please sign in to comment.