You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2014/01/22 22:58:22 UTC

[jira] [Updated] (HDFS-5534) change testUncachingBlocksBeforeCachingFinishes to use explicit synchronization rather than a delay

     [ https://issues.apache.org/jira/browse/HDFS-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Wang updated HDFS-5534:
------------------------------

    Affects Version/s: 2.4.0

> change testUncachingBlocksBeforeCachingFinishes to use explicit synchronization rather than a delay
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5534
>                 URL: https://issues.apache.org/jira/browse/HDFS-5534
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Andrew Wang
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)