Bug 560004 - PluginManagerTest uses hardcoded version strings in its test data
Summary: PluginManagerTest uses hardcoded version strings in its test data
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2010-01-29 15:54 UTC by Jay Dobies
Modified: 2010-09-30 14:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-30 14:05:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2010-01-29 15:54:45 UTC
Description of problem:
The test hard codes the location of JARs:

static final String PLATFORM_PLUGIN = "org/rhq/rhq-platform-plugin/1.4.0-SNAPSHOT/rhq-platform-plugin-1.4.0-SNAPSHOT.jar";

This causes the test to fail when attempting to make a build with a new version. It is unacceptable to make part of the release process going to test classes to edit test data.

Version-Release number of selected component (if applicable):
HEAD

How reproducible:
Always

Steps to Reproduce:
1. Attempt a dist build
2. Watch failure

  
Actual results:
Test fails.

Expected results:
Tests should be self-sufficient and not be contingent on variable data.

Additional info:

Comment 1 wes hayutin 2010-02-16 16:54:38 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 2 wes hayutin 2010-02-16 17:00:05 UTC
making sure we're not missing any bugs in rhq_triage


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