Skip to content

Commit d66dc79

Browse files
author
diljot grewal
committed
redundant set for multipart_size
1 parent 6f4af93 commit d66dc79

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/ITestS3APutIfMatch.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
import static org.apache.hadoop.fs.s3a.S3ATestUtils.skipIfNotEnabled;
4747
import static org.apache.hadoop.fs.s3a.S3ATestUtils.removeBaseAndBucketOverrides;
4848
import static org.apache.hadoop.fs.s3a.impl.InternalConstants.UPLOAD_PART_COUNT_LIMIT;
49-
import static org.apache.hadoop.fs.s3a.scale.ITestS3AMultipartUploadSizeLimits.MPU_SIZE;
5049
import static org.apache.hadoop.fs.s3a.scale.S3AScaleTestBase._1MB;
5150
import static org.apache.hadoop.test.LambdaTestUtils.intercept;
5251

@@ -63,9 +62,7 @@ public Configuration createConfiguration() {
6362
conf,
6463
MULTIPART_SIZE,
6564
UPLOAD_PART_COUNT_LIMIT,
66-
MIN_MULTIPART_THRESHOLD,
67-
MULTIPART_SIZE);
68-
conf.setLong(MULTIPART_SIZE, MPU_SIZE);
65+
MIN_MULTIPART_THRESHOLD);
6966
conf.setLong(UPLOAD_PART_COUNT_LIMIT, 2);
7067
conf.setLong(MIN_MULTIPART_THRESHOLD, MULTIPART_MIN_SIZE);
7168
conf.setInt(MULTIPART_SIZE, MULTIPART_MIN_SIZE);

0 commit comments

Comments
 (0)