Skip to content

Commit

Permalink
reverted few changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nathalapooja committed Oct 25, 2023
1 parent 9f55f2e commit 74a90ae
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
17 changes: 17 additions & 0 deletions generator/test_case_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,23 @@ var testTypeToTestConfig = map[string][]testConfig{
{testDir: "./test/emf"},
},
"eks_daemon": {
{
testDir: "./test/metric_value_benchmark",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
{
testDir: "./test/statsd", terraformDir: "terraform/eks/daemon/statsd",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
{
testDir: "./test/emf", terraformDir: "terraform/eks/daemon/emf",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
{
testDir: "./test/fluent", terraformDir: "terraform/eks/daemon/fluent/d",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
{testDir: "./test/fluent", terraformDir: "terraform/eks/daemon/fluent/bit"},
{testDir: "./test/apm", terraformDir: "terraform/eks/daemon/apm",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
Expand Down
2 changes: 1 addition & 1 deletion test/apm/resources/metrics/client_producer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"key": "aws.deployment.name",
"value": {
"stringValue": "service-name"
"stringValue": "deployment-name"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/apm/resources/metrics/server_consumer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"key": "aws.deployment.name",
"value": {
"stringValue": "service-name"
"stringValue": "deployment-name"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/apm/resources/traces/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"key": "aws.deployment.name",
"value": {
"stringValue": "service-name"
"stringValue": "deployment-name"
}
},
{
Expand Down
2 changes: 0 additions & 2 deletions test/apm/traces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func (t *APMTracesRunner) Validate() status.TestGroupResult {
Status: status.FAILED,
}}
timeNow := time.Now()
fmt.Printf("CLuster name: %v\n", t.clusterName)
annotations[EKSClusterAnnotation] = t.clusterName
xrayFilter := FilterExpression(annotations)
traceIds, err := GetTraceIDs(timeNow.Add(lookbackDuration), timeNow, xrayFilter)
Expand Down Expand Up @@ -102,7 +101,6 @@ func FilterExpression(annotations map[string]string) string {
expression += " AND "
}
expression += fmt.Sprintf("annotation.%s = %s", key, result)
fmt.Printf("annotation.%s = %s", key, result)
}
return expression
}
Expand Down

0 comments on commit 74a90ae

Please sign in to comment.