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

Bug 505820

Summary: Test failure in CodeCorrectionTests.testCorrectFieldType2
Product: [Eclipse Project] JDT Reporter: Stefan Xenos <sxenos>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: manoj.palat, stephan.herrmann
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/83062
Whiteboard: stalebug

Description Stefan Xenos CLA 2016-10-12 14:43:53 EDT
The following test appears to be failing intermittently. The failure may be related to the new index:

Error Message

should have two suggestions.
----------- Expected ------------
AClass\n
AClass2
------------ but was ------------

--------- Difference is ----------
 expected:<[AClass\n
AClass2]> but was:<[]>
Stacktrace

junit.framework.ComparisonFailure: should have two suggestions.
----------- Expected ------------
AClass\n
AClass2
------------ but was ------------

--------- Difference is ----------
 expected:<[AClass\n
AClass2]> but was:<[]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:259)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:235)
	at org.eclipse.jdt.core.tests.model.CodeCorrectionTests.testCorrectFieldType2(CodeCorrectionTests.java:186)
Comment 1 Eclipse Genie CLA 2016-10-12 15:41:46 EDT
New Gerrit change created: https://git.eclipse.org/r/83062
Comment 2 Jay Arthanareeswaran CLA 2016-10-28 02:45:55 EDT
Bulk change, moving out all bugs that couldn't make it to M3.
Comment 3 Manoj N Palat CLA 2018-04-16 09:40:22 EDT
bulk move out of 4.8
Comment 4 Eclipse Genie CLA 2020-05-10 00:12:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Stephan Herrmann CLA 2020-05-10 06:21:20 EDT
(In reply to Eclipse Genie from comment #1)
> New Gerrit change created: https://git.eclipse.org/r/83062

For posterity: this was just an experiment, no functional code change.