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

AbstractContractDeleteTest::testDeleteNonEmptyDirRecursive with misleading path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.3.0, 3.1.4, 3.2.2, 2.10.1
    • fs, test
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: