Skip to content

Commit

Permalink
successfully run s3 update test and make replay-only
Browse files Browse the repository at this point in the history
  • Loading branch information
michelledeng30 committed Jan 27, 2025
1 parent 170795c commit dcd3296
Show file tree
Hide file tree
Showing 3 changed files with 545 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-24T16:30:44.535122-05:00
2025-01-27T12:49:58.172425-05:00
556 changes: 541 additions & 15 deletions datadog/tests/cassettes/TestAccDatadogLogsArchiveS3Update_basic.yaml

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion datadog/tests/resource_datadog_logs_archive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ resource "datadog_logs_archive" "my_s3_archive" {

func TestAccDatadogLogsArchiveS3Update_basic(t *testing.T) {
t.Parallel()
if !isReplaying() {
t.Skip("This test only supports replaying")
}
ctx, providers, accProviders := testAccFrameworkMuxProviders(context.Background(), t)
accountID := uniqueAWSAccountID(ctx, t)

Expand Down Expand Up @@ -312,7 +315,6 @@ func TestAccDatadogLogsArchiveS3Update_basic(t *testing.T) {
"datadog_logs_archive.my_s3_archive", "s3_archive.0.path", "/path/foo"),
resource.TestCheckResourceAttr(
"datadog_logs_archive.my_s3_archive", "s3_archive.0.encryption_type", "SSE_S3"),
resource.TestCheckNoResourceAttr("datadog_logs_archive.my_s3_archive", "s3_archive.0.encryption_key"),
),
},
},
Expand Down

0 comments on commit dcd3296

Please sign in to comment.