Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
0.4.0
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
HDDS-1532 Ozone: Freon: Improve the concurrent testing framework.
- Resolved