This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 237954 - Test failures in org.eclipse.cosmos.rm.repository.tests
Summary: Test failures in org.eclipse.cosmos.rm.repository.tests
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: David Whiteman CLA
QA Contact: amehrega CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-20 11:41 EDT by amehrega CLA
Modified: 2012-01-03 13:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amehrega CLA 2008-06-20 11:41:23 EDT
Using second candidate build for i11, two test suites are failing (4 test cases in total):

TestCMDBfQueryOperation:
 testItemsAndRelationships
 testRelationshipMatch

TestRelationshipHandler
 testIdenticalSourceTargetTemplate
 testMultipleRelationships
Comment 1 David Whiteman CLA 2008-06-27 13:37:29 EDT
Some or all of these failures are due to the changes introduced in RelationshipTemplateHandler for bug 223273.

It seems our tests expect a different set of elements than we are outputting.  You can see the stack trace for all 4 failures in these two links:

http://www.eclipse.org/cosmos/test/reports/1.0.0_i11/F840FA44A5F4D4C738D52520656411DC.html
http://www.eclipse.org/cosmos/test/reports/1.0.0_i11/C579E33263413CD0738FFCA0AFE511DC.html
Comment 2 amehrega CLA 2008-06-27 14:38:51 EDT
We used to not include instance IDs for relationships.  The spec requires at least one instance ID to be present.  If the only difference between the generated files vs. the expected files is the instance id of relationships, then we need to only update our expected files.
Comment 3 David Whiteman CLA 2008-07-01 08:54:41 EDT
I added the instance ids to the edges in the expected results files, and now these tests are passing.
Comment 4 David Whiteman CLA 2008-11-05 14:59:03 EST
closing to cleanup bugzilla