Description of problem: This test is written wrong - it assumes a certain execution order by JUnit (which cannot be assumed) in order to run properly. Currently, it consistently fails. Since even if it worked properly it doesn't test any meaningful flow, and uses PowerMock which we're attempting to remove from the project, we wish to remove it, as was done in oVirt. Version-Release number of selected component (if applicable): The test breaks in Change-Id: Ifaa25bbaddad4c6894abfa3b9e83f205ee9678a1. How reproducible: 100% Steps to Reproduce: 1. Check out project 2. mvn clean install Actual results: MonitoringStrategyFactoryTest fails the build Expected results: The build should succeed. Additional info:
Solution in oVirt was merged, pending acks to merge downstream: http://gerrit.ovirt.org/#/c/7123/