As proposed in
HADOOP-11488. This patch activates the purging functionality of s3a at the start of each test. This cleans up any in-progress multi-part uploads in the test bucket, preventing unknowing users from eternally paying Amazon for the space of the already uploaded parts of previous tests that failed during a multi-part upload.
People who have run the s3a tests should run a single test (evidently after this patch is applied) against all their testbuckets (or manually abort multipart).