Bug 839274 - Tests leave test data lying around
Summary: Tests leave test data lying around
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.5.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 682878
TreeView+ depends on / blocked
 
Reported: 2012-07-11 12:43 UTC by Heiko W. Rupp
Modified: 2013-09-01 10:09 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-01 10:09:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2012-07-11 12:43:10 UTC
Server tests leave the database in an unclean state. The following entries in the plugins table are still there

'PluginManagerBeanTestPlugin1', '/im/rhq/modules/enterprise/server/jar/target/test-classes/org/rhq/enterprise/server/resource/metadata//test-plugin1.jar'
'PluginManagerBeanTestPlugin2', '/im/rhq/modules/enterprise/server/jar/target/test-classes/org/rhq/enterprise/server/resource/metadata//test-plugin2.jar'
'TestPlugin', '/im/rhq/modules/enterprise/server/jar/target/test-classes/org/rhq/enterprise/server/resource/metadata//test-plugin.jar.jar'
'PluginManagerBeanTestPlugin3', '/im/rhq/modules/enterprise/server/jar/target/test-classes/org/rhq/enterprise/server/resource/metadata//test-plugin3.jar'

Which cause test inconsistencies when re-running tests.

Comment 1 Heiko W. Rupp 2012-08-14 15:13:06 UTC
This has been fixed in master 4c3b4fdd3ad080d772b2932b526e08366694dc0f on 
july 12th already.

Comment 2 Heiko W. Rupp 2013-09-01 10:09:08 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.


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