sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szabolcs Vasas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-3350) Fix tests which use warehouse-dir as target-dir
Date Mon, 23 Jul 2018 15:46:00 GMT
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)

Mime
View raw message