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

TestPendingInvalidateBlock should wait for IBRs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None

      Description

      After HDFS-10426, the test TestPendingInvalidateBlock#testPendingDeletion still fails sometimes. As Masatake Iwasaki 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.branch-2.patch
          3 kB
          Andrew Wang
        5. HDFS-10990.004.patch
          3 kB
          Andrew Wang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: