Skip to content

Commit a3f2f55

Browse files
authored
Added deleteBucketAndAllContents in AfterAll of AsyncHttpChecksumIntegrationTest (#3614)
1 parent 7d9fd02 commit a3f2f55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/s3/src/it/java/software/amazon/awssdk/services/s3/checksum/AsyncHttpChecksumIntegrationTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.nio.ByteBuffer;
2727
import java.nio.file.Files;
2828
import java.util.concurrent.CompletableFuture;
29+
import org.junit.jupiter.api.AfterAll;
2930
import org.junit.jupiter.api.AfterEach;
3031
import org.junit.jupiter.api.BeforeAll;
3132
import org.junit.jupiter.api.Disabled;
@@ -77,6 +78,11 @@ public void clear() {
7778
interceptor.reset();
7879
}
7980

81+
@AfterAll
82+
public static void tearDown() {
83+
deleteBucketAndAllContents(BUCKET);
84+
}
85+
8086
@Test
8187
void asyncValidUnsignedTrailerChecksumCalculatedBySdkClient() {
8288
s3Async.putObject(PutObjectRequest.builder()

0 commit comments

Comments
 (0)