From 20cf2f118d1ff880e9e995771c0044a4a5838825 Mon Sep 17 00:00:00 2001 From: patchwork01 <110390516+patchwork01@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:15:55 +0000 Subject: [PATCH] Stop setting autodelete on system test bucket --- .../main/java/sleeper/systemtest/cdk/SystemTestBucketStack.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/system-test/system-test-cdk/src/main/java/sleeper/systemtest/cdk/SystemTestBucketStack.java b/java/system-test/system-test-cdk/src/main/java/sleeper/systemtest/cdk/SystemTestBucketStack.java index 7bb6c484ad..09789afb1e 100644 --- a/java/system-test/system-test-cdk/src/main/java/sleeper/systemtest/cdk/SystemTestBucketStack.java +++ b/java/system-test/system-test-cdk/src/main/java/sleeper/systemtest/cdk/SystemTestBucketStack.java @@ -69,7 +69,6 @@ private IBucket createBucket(String id, String bucketName, InstanceProperties in .encryption(BucketEncryption.S3_MANAGED) .blockPublicAccess(BlockPublicAccess.BLOCK_ALL) .removalPolicy(RemovalPolicy.DESTROY) - .autoDeleteObjects(true) .build(); AutoDeleteS3Objects.autoDeleteForBucket(this, jars, instanceProperties, bucket); return bucket;