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] [Assigned] (SQOOP-3350) Fix tests which use warehouse-dir as target-dir
Date Tue, 24 Jul 2018 16:17:00 GMT

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

Mime
View raw message