You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Szabolcs Vasas (JIRA)" <ji...@apache.org> on 2018/07/24 16:17:00 UTC

[jira] [Assigned] (SQOOP-3350) Fix tests which use warehouse-dir as target-dir

     [ https://issues.apache.org/jira/browse/SQOOP-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Szabolcs Vasas reassigned SQOOP-3350:
-------------------------------------

    Assignee: Szabolcs Vasas

> 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
>
> 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)