Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-3350

Fix tests which use warehouse-dir as target-dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.7
    • 3.0.0
    • None
    • None

    Description

      Some Sqoop tests use the value of theĀ org.apache.sqoop.testutil.BaseSqoopTestCase#getWarehouseDir as target-dir:

      args.add("--target-dir");
      args.add(getWarehouseDir());
      

      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.

      Attachments

        1. SQOOP-3350.patch
          7 kB
          Vasas Szabolcs

        Issue Links

          Activity

            People

              vasas Vasas Szabolcs
              vasas Vasas Szabolcs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: