Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15097

AbstractContractDeleteTest::testDeleteNonEmptyDirRecursive with misleading path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 3.3.0, 3.1.4, 3.2.2, 2.10.1
    • Component/s: fs, test
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      @Test
      public void testDeleteNonEmptyDirRecursive() throws Throwable {
      Path path = path("testDeleteNonEmptyDirNonRecursive");
      mkdirs(path);
      Path file = new Path(path, "childfile");
      ContractTestUtils.writeTextFile(getFileSystem(), file, "goodbye, world",
      true);
      assertDeleted(path, true);
      assertPathDoesNotExist("not deleted", file);
      }

      change testDeleteNonEmptyDirNonRecursive to testDeleteNonEmptyDirRecursive

        Attachments

        1. HADOOP-15097.001.patch
          0.9 kB
          Xieming Li

          Activity

            People

            • Assignee:
              risyomei Xieming Li
              Reporter:
              zhoutai.zt zhoutai.zt
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: