Szabolcs Vasas created SQOOP-3350:
-------------------------------------

             Summary: 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


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)

Reply via email to