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

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

    Target Version/s: 2.4.0  (was: 3.0.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: Improvement
>          Components: datanode, namenode
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Andrew Wang
>            Priority: Minor
>              Labels: caching
>
> 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)

Reply via email to