Merge pull request #760 from koushik-das/CLOUDSTACK-8785 CLOUDSTACK-8785: Proper enforcement of retry count (max.retries) for all work type handled by HighAvailability manager Retry count is properly enforced for all work types in HA manager. Also reorganized some of the code for easy testing.
Signed-off-by: Koushik Das <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f732c7d1 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f732c7d1 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f732c7d1 Branch: refs/heads/master Commit: f732c7d1e9b2434822718dff9624369294f923c2 Parents: c8bfeb8 cbf2c3b Author: Koushik Das <[email protected]> Authored: Tue Sep 1 17:58:45 2015 +0530 Committer: Koushik Das <[email protected]> Committed: Tue Sep 1 17:59:08 2015 +0530 ---------------------------------------------------------------------- .../cloud/ha/HighAvailabilityManagerImpl.java | 126 +++++++++---------- .../ha/HighAvailabilityManagerImplTest.java | 44 +++++++ 2 files changed, 103 insertions(+), 67 deletions(-) ----------------------------------------------------------------------
