Skip to content

Commit 6889e54

Browse files
committed
Enable all bucket types for regression test
1 parent f92b163 commit 6889e54

File tree

1 file changed

+9
-7
lines changed
  • test/s3-tests/src/it/java/software/amazon/awssdk/services/s3/regression/upload

1 file changed

+9
-7
lines changed

test/s3-tests/src/it/java/software/amazon/awssdk/services/s3/regression/upload/UploadConfig.java

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ public static List<UploadConfig> testConfigs() {
4040
for (UploadStreamingRegressionTesting.ContentSize cs :
4141
UploadStreamingRegressionTesting.ContentSize.values()) {
4242
for (boolean ps : payloadSign) {
43-
UploadConfig testConfig = new UploadConfig();
44-
testConfig.setRequestChecksumValidation(checksumValidation);
45-
testConfig.setBodyType(bodType);
46-
testConfig.setContentSize(cs);
47-
testConfig.setPayloadSigning(ps);
48-
testConfig.setBucketType(BucketType.STANDARD_BUCKET);
49-
configs.add(testConfig);
43+
for (BucketType bucketType : BucketType.values()) {
44+
UploadConfig testConfig = new UploadConfig();
45+
testConfig.setRequestChecksumValidation(checksumValidation);
46+
testConfig.setBodyType(bodType);
47+
testConfig.setContentSize(cs);
48+
testConfig.setPayloadSigning(ps);
49+
testConfig.setBucketType(bucketType);
50+
configs.add(testConfig);
51+
}
5052
}
5153
}
5254
}

0 commit comments

Comments
 (0)