We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec332a9 commit 4afdf9fCopy full SHA for 4afdf9f
services/s3/src/it/java/software/amazon/awssdk/services/s3/HeadObjectIntegrationTest.java
@@ -22,6 +22,8 @@
22
import java.io.IOException;
23
import java.nio.charset.StandardCharsets;
24
import java.util.zip.GZIPOutputStream;
25
+
26
+import org.junit.AfterClass;
27
import org.junit.BeforeClass;
28
import org.junit.Test;
29
import software.amazon.awssdk.core.sync.RequestBody;
@@ -61,4 +63,9 @@ public void syncClientSupportsGzippedObjects() {
61
63
HeadObjectResponse response = s3.headObject(r -> r.bucket(BUCKET).key(GZIPPED_KEY));
62
64
assertThat(response.contentEncoding()).isEqualTo("gzip");
65
}
66
67
+ @AfterClass
68
+ public static void cleanup() {
69
+ deleteBucketAndAllContents(BUCKET);
70
+ }
71
0 commit comments