Skip to content

Commit 36f0665

Browse files
committed
try to reduce build time
1 parent 84c383b commit 36f0665

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

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

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,17 @@ public static List<FlattenUploadConfig> testConfigs() {
3636
RequestChecksumCalculation[] checksumValidations = {RequestChecksumCalculation.WHEN_REQUIRED,
3737
RequestChecksumCalculation.WHEN_SUPPORTED};
3838
for (RequestChecksumCalculation checksumValidation : checksumValidations) {
39-
for (BucketType bucketType : BucketType.values()) {
40-
for (UploadStreamingRegressionTesting.BodyType bodType : UploadStreamingRegressionTesting.BodyType.values()) {
41-
for (UploadStreamingRegressionTesting.ContentSize cs :
42-
UploadStreamingRegressionTesting.ContentSize.values()) {
43-
for (boolean ps : payloadSign) {
44-
FlattenUploadConfig testConfig = new FlattenUploadConfig();
45-
testConfig.setBucketType(bucketType);
46-
testConfig.setRequestChecksumValidation(checksumValidation);
47-
testConfig.setBodyType(bodType);
48-
testConfig.setContentSize(cs);
49-
testConfig.setPayloadSigning(ps);
50-
configs.add(testConfig);
51-
}
39+
for (UploadStreamingRegressionTesting.BodyType bodType : UploadStreamingRegressionTesting.BodyType.values()) {
40+
for (UploadStreamingRegressionTesting.ContentSize cs :
41+
UploadStreamingRegressionTesting.ContentSize.values()) {
42+
for (boolean ps : payloadSign) {
43+
FlattenUploadConfig testConfig = new FlattenUploadConfig();
44+
testConfig.setBucketType(BucketType.STANDARD_BUCKET);
45+
testConfig.setRequestChecksumValidation(checksumValidation);
46+
testConfig.setBodyType(bodType);
47+
testConfig.setContentSize(cs);
48+
testConfig.setPayloadSigning(ps);
49+
configs.add(testConfig);
5250
}
5351
}
5452
}

0 commit comments

Comments
 (0)