HADOOP-11520. Clean incomplete multi-part uploads in S3A tests. (Thomas Demoor via stevel)
This commit is contained in:
parent
9361fc8f70
commit
af7368cf03
|
@ -178,6 +178,9 @@ Release 2.7.0 - UNRELEASED
|
|||
HADOOP-11463 Replace method-local TransferManager object with
|
||||
S3AFileSystem#transfers. (Ted Yu via stevel)
|
||||
|
||||
HADOOP-11520. Clean incomplete multi-part uploads in S3A tests.
|
||||
(Thomas Demoor via stevel)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
||||
|
|
|
@ -45,6 +45,9 @@ public class S3ATestUtils {
|
|||
"No test filesystem in " + TestS3AFileSystemContract.TEST_FS_S3A_NAME);
|
||||
}
|
||||
S3AFileSystem fs1 = new S3AFileSystem();
|
||||
//enable purging in tests
|
||||
conf.setBoolean(Constants.PURGE_EXISTING_MULTIPART, true);
|
||||
conf.setInt(Constants.PURGE_EXISTING_MULTIPART_AGE, 0);
|
||||
fs1.initialize(testURI, conf);
|
||||
return fs1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue