Skip to content

Commit 5210b0b

Browse files
committed
Do not validate Md5 if checksum value supplied
1 parent d65acc6 commit 5210b0b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

services/s3/src/it/java/software/amazon/awssdk/services/s3/PutObjectIntegrationTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
* Integration tests for {@code PutObject}.
4747
*/
4848
public class PutObjectIntegrationTest extends S3IntegrationTestBase {
49-
private static final String BUCKET = "embers-test-bucket";
50-
//temporaryBucketName(PutObjectIntegrationTest.class);
49+
private static final String BUCKET = temporaryBucketName(PutObjectIntegrationTest.class);
5150
private static final String ASYNC_KEY = "async-key";
5251
private static final String SYNC_KEY = "sync-key";
5352

@@ -56,12 +55,12 @@ public class PutObjectIntegrationTest extends S3IntegrationTestBase {
5655
@BeforeClass
5756
public static void setUp() throws Exception {
5857
S3IntegrationTestBase.setUp();
59-
//createBucket(BUCKET);
58+
createBucket(BUCKET);
6059
}
6160

6261
@AfterClass
6362
public static void tearDown() {
64-
//deleteBucketAndAllContents(BUCKET);
63+
deleteBucketAndAllContents(BUCKET);
6564
}
6665

6766
@Test

0 commit comments

Comments
 (0)