Xudong Cao created HDDS-1703:
--------------------------------
Summary: Freon uses wait/notify instead of polling to eliminate
the test result error.
Key: HDDS-1703
URL: https://issues.apache.org/jira/browse/HDDS-1703
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Components: test
Affects Versions: 0.4.0
Reporter: Xudong Cao
Assignee: Xudong Cao
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.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]