-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Invalid
-
Affects Version/s: 0.4.0
-
Fix Version/s: None
-
Component/s: test
-
Labels:None
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.
- relates to
-
HDDS-1532 Ozone: Freon: Improve the concurrent testing framework.
-
- Resolved
-