Bug 847974 - [Codechange]: Remove broken test MonitoringStrategyFactoryTest
Summary: [Codechange]: Remove broken test MonitoringStrategyFactoryTest
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Build Subsystem
Version: 3.1.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Allon Mureinik
QA Contact: Yaniv Kaul
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-14 09:01 UTC by Allon Mureinik
Modified: 2016-02-10 19:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-27 11:10:18 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 7123 0 None None None Never

Description Allon Mureinik 2012-08-14 09:01:51 UTC
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:

Comment 1 Allon Mureinik 2012-08-14 09:06:12 UTC
Solution in oVirt was merged, pending acks to merge downstream:
http://gerrit.ovirt.org/#/c/7123/


Note You need to log in before you can comment on or make changes to this bug.