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

change testUncachingBlocksBeforeCachingFinishes to use explicit synchronization rather than a delay

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.0, 3.0.0-alpha1
    • None
    • datanode, namenode

    Description

      It would be nice for testUncachingBlocksBeforeCachingFinishes to use explicit synchronization rather than a delay, to ensure that we are testing the try-to-cache-but-uncache-before-it-finishes case. We probably need Mockito or some more test hooks in FsDatasetCache in order to do this right.

      Attachments

        Activity

          People

            andrew.wang Andrew Wang
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: