Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
celaus committed Dec 18, 2024
1 parent 89fba39 commit c0a802e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coralogix/data_source_coralogix_archive_metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestAccCoralogixDataSourceArchiveMetrics_basic(t *testing.T) {
testAccCoralogixDataSourceArchiveMetrics_read(),
Check: resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttr(archiveMetricsDataSourceName, "s3.region", "eu-north-1"),
resource.TestCheckResourceAttr(archiveMetricsDataSourceName, "s3.bucket", "coralogix-c4c-eu2-prometheus-data"),
resource.TestCheckResourceAttr(archiveMetricsDataSourceName, "s3.bucket", "yak-coralogix-bucket"),
),
},
},
Expand Down
4 changes: 2 additions & 2 deletions coralogix/resource_coralogix_alert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,8 @@ func TestAccCoralogixResourceAlert_flow(t *testing.T) {
resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.#", "1"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.#", "2"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alerts_op", "AND"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.next_op", "OR"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alerts_op", "OR"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.next_op", "AND"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alert_defs.#", "2"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_ms", "10"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_type", "Up To"),
Expand Down

0 comments on commit c0a802e

Please sign in to comment.