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

Xudong Cao resolved HDDS-1703.
------------------------------
    Resolution: Invalid

> Freon uses wait/notify instead of polling to eliminate the test result errors.
> ------------------------------------------------------------------------------
>
>                 Key: HDDS-1703
>                 URL: https://issues.apache.org/jira/browse/HDDS-1703
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.4.0
>            Reporter: Xudong Cao
>            Assignee: Xudong Cao
>            Priority: Minor
>
> After HDDS-1532, Freon has an efficient concurrent testing framework. In the 
> new framework, the main thread checks every 5s to verify whether the test is 
> completed (or an exception occurred), which will eventually introduce a 
> maximum error of 5s.
> In most cases, Freon's test results are at minutes or tens of minutes level, 
> thus a 5s error is not significant, but in some particularly small tests, a 
> 5s error may have a significant impact.
> Therefore, we can use the combination of Object.wait() + Object.notify()  
> instead of polling to completely eliminate this error.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to