Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
celaus committed Jan 7, 2025
1 parent 2da2190 commit f64311c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions coralogix/resource_coralogix_events2metric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestAccCoralogixResourceLogs2Metric(t *testing.T) {
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.geo_point.aggregations.min.enable", "false"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.geo_point.aggregations.sum.target_metric_name", "cx_sum"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.geo_point.aggregations.sum.enable", "true"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.source_field", "method"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.source_field", "duration"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.aggregations.count.target_metric_name", "cx_count"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.aggregations.count.enable", "true"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.aggregations.histogram.target_metric_name", "cx_bucket"),
Expand Down Expand Up @@ -124,7 +124,7 @@ func TestAccCoralogixResourceSpans2Metric(t *testing.T) {
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.geo_point.aggregations.min.enable", "false"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.geo_point.aggregations.sum.target_metric_name", "cx_sum"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.geo_point.aggregations.sum.enable", "true"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.source_field", "method"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.source_field", "duration"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.aggregations.count.target_metric_name", "cx_count"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.aggregations.count.enable", "true"),
resource.TestCheckResourceAttr(events2metricResourceName, "metric_fields.method.aggregations.histogram.target_metric_name", "cx_bucket"),
Expand Down Expand Up @@ -197,7 +197,7 @@ logs_query = {
metric_fields = {
method = {
source_field = "method"
source_field = "duration"
},
geo_point = {
source_field = "location_geopoint"
Expand Down Expand Up @@ -241,7 +241,7 @@ func testAccCoralogixResourceSpans2Metric(l *events2MetricTestFields) string {
metric_fields = {
method = {
source_field = "method"
source_field = "duration"
},
geo_point = {
source_field = "location_geopoint"
Expand Down

0 comments on commit f64311c

Please sign in to comment.