History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-1083
Type: Code Change Code Change
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Joseph Marques
Reporter: Joseph Marques
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

fix the DataPurgeJobTest to also verifying trait purging

Created: 07/Nov/08 10:59 AM   Updated: 08/Dec/08 07:29 AM
Component/s: Core Server
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

Resolution Date: 23/Nov/08 05:40 AM
VCS Revision: 2,106


 Description  « Hide
DataPurgeJobTest:

            // TODO our purge should blow away all by the last trait since our trait history is very old
            // today, we do NOT purge old trait data - they only delete when you delete a resource
            // so I've commented out this assert test. We'll want to enable this assert test once we
            // implement trait purging
            //assert persistedTraits.size() == 1 : "bad purged trait data:" + persistedTraits.size();

that comment is deprecated because we *do* purge traits now. this test needs to be fixed.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Joseph Marques - 23/Nov/08 05:40 AM
rev2106 - DataPurgeJob now purges traits, so un-comment the corresponding check in the DataPurgeJobTest;