[ https://issues.apache.org/jira/browse/SQOOP-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559481#comment-16559481 ]
ASF subversion and git services commented on SQOOP-3350: -------------------------------------------------------- Commit 1213b7725a65e561d8db071141e04944c85d1f94 in sqoop's branch refs/heads/trunk from [~BoglarkaEgyed] [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=1213b77 ] SQOOP-3350: Fix tests which use warehouse-dir as target-dir (Szabolcs Vasas via Boglarka Egyed) > Fix tests which use warehouse-dir as target-dir > ----------------------------------------------- > > Key: SQOOP-3350 > URL: https://issues.apache.org/jira/browse/SQOOP-3350 > Project: Sqoop > Issue Type: Bug > Affects Versions: 1.4.7 > Reporter: Szabolcs Vasas > Assignee: Szabolcs Vasas > Priority: Major > Attachments: SQOOP-3350.patch > > > Some Sqoop tests use the value of theĀ > org.apache.sqoop.testutil.BaseSqoopTestCase#getWarehouseDir as target-dir: > {code:java} > args.add("--target-dir"); > args.add(getWarehouseDir()); > {code} > This leads to an error when the warehouse directory exists which can happen > if a previous test does not clean up properly. > The issue was found when executing the tests with Gradle since it probably > executes the tests in a different order. -- This message was sent by Atlassian JIRA (v7.6.3#76005)