Repository: sqoop Updated Branches: refs/heads/trunk 74252163f -> 264cddbec
SQOOP-3409: Fix temporary rootdir clean up in Sqoop-S3 tests (Boglarka Egyed via Szabolcs Vasas) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/264cddbe Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/264cddbe Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/264cddbe Branch: refs/heads/trunk Commit: 264cddbecf6d99a793600885e4c0ded72158695c Parents: 7425216 Author: Szabolcs Vasas <[email protected]> Authored: Thu Nov 22 15:49:16 2018 +0100 Committer: Szabolcs Vasas <[email protected]> Committed: Thu Nov 22 16:30:56 2018 +0100 ---------------------------------------------------------------------- src/test/org/apache/sqoop/testutil/S3TestUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/264cddbe/src/test/org/apache/sqoop/testutil/S3TestUtils.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/sqoop/testutil/S3TestUtils.java b/src/test/org/apache/sqoop/testutil/S3TestUtils.java index 2fc6061..c4c5c09 100644 --- a/src/test/org/apache/sqoop/testutil/S3TestUtils.java +++ b/src/test/org/apache/sqoop/testutil/S3TestUtils.java @@ -426,8 +426,8 @@ public class S3TestUtils { } public static void tearDownS3IncrementalImportTestCase(FileSystem s3Client) { - cleanUpTargetDir(s3Client); cleanUpDirectory(s3Client, getTemporaryRootDirPath()); + cleanUpTargetDir(s3Client); System.clearProperty(MAPREDUCE_OUTPUT_BASENAME_PROPERTY); }
