adoroszlai opened a new pull request #2445: URL: https://github.com/apache/ozone/pull/2445
## What changes were proposed in this pull request? Eliminate the need for costly sleep in `TestPeriodicVolumeChecker`: ``` [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 132.95 s - in org.apache.hadoop.ozone.container.common.volume.TestPeriodicVolumeChecker ``` https://github.com/apache/ozone/runs/3112345557#step:4:923 by: * manually calling `checkAllVolumeSets` instead of waiting for the real executor to schedule it, * and using `FakeTimer` to "advance" time between the calls. https://issues.apache.org/jira/browse/HDDS-5468 ## How was this patch tested? ``` [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.276 s - in org.apache.hadoop.ozone.container.common.volume.TestPeriodicVolumeChecker ``` https://github.com/adoroszlai/hadoop-ozone/runs/3115013489#step:4:1100 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
