Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312061

Summary: Persistent test failure in EnumerationTests
Product: [Tools] CDT Reporter: Charley Wang <charley.wang>
Component: cdt-otherAssignee: Doug Schaefer <cdtdoug>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Charley Wang CLA 2010-05-07 09:37:25 EDT
The testCPP case in org.eclipse.cdt.internal.pdom.tests.EnumerationTests has been failing for the past 108 builds on Hudson. I am unable to reproduce the test failure within my workspace.

It appears as if the enumerators have been fetched in the wrong order since the number of enumerators is unaffected. The latest test result at the time of this posting is here:

https://build.eclipse.org/hudson/job/cdt-nightly/121/testReport/org.eclipse.cdt.internal.pdom.tests/EnumerationTests/testCPP/

-Charley
Comment 1 Doug Schaefer CLA 2010-05-14 15:31:16 EDT
Seems to be gone now.
Comment 2 Charley Wang CLA 2010-05-14 15:54:37 EDT
(In reply to comment #1)
> Seems to be gone now.

Yes, this was fixed back in commit 120-ish I believe, by resorting the list of enumerations before attempting to assert. I will close this bug.