Stephen O'Donnell created HDDS-5459:
---------------------------------------
Summary: Replication Manager should process containers
synchronously for tests
Key: HDDS-5459
URL: https://issues.apache.org/jira/browse/HDDS-5459
Project: Apache Ozone
Issue Type: Improvement
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
The method ReplicationManager.processContainersNow() only wakes up the thread,
and returns before the containers have been processed.
This results in all RM tests having a sleep(100) after all calls to this method.
With a small refactor to RM, we can avoid this sleep. After this change all
tests run about 100ms faster, and the code in the tests is slightly better.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]