Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10990

TestPendingInvalidateBlock should wait for IBRs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0, 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha2
    • None
    • None

    Description

      After HDFS-10426, the test TestPendingInvalidateBlock#testPendingDeletion still fails sometimes. As iwasakims commented in HDFS-10426(https://issues.apache.org/jira/browse/HDFS-10426?focusedCommentId=15539826&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15539826), we should add a line DFSTestUtil.waitForReplication to wait for the IBR and not do the assert opertion first.

      Attachments

        1. HDFS-10990.001.patch
          0.9 kB
          Yiqun Lin
        2. HDFS-10990.002.patch
          3 kB
          Yiqun Lin
        3. HDFS-10990.003.patch
          3 kB
          Yiqun Lin
        4. HDFS-10990.004.patch
          3 kB
          Andrew Wang
        5. HDFS-10990.004.branch-2.patch
          3 kB
          Andrew Wang

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: