eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
166 stars 131 forks source link

[build][test] Failure in org.eclipse.jdt.core.tests.model.JavaSearchBugsTests. testBug339891 #2876

Open mpalat opened 2 months ago

mpalat commented 2 months ago

ref: https://download.eclipse.org/eclipse/downloads/drops4/I20240828-1820/testresults/html/org.eclipse.jdt.core.tests.model_ep433I-unit-macM1-java17_macosx.cocoa.aarch64_17.html Unexpected search results. ----------- Expected ------------ Test.java void Test.foo(Ref) [foo()] EXACT_MATCH ------------ but was ------------ ---------------------- ---------- expected:<[Test.java void Test.foo(Ref) [foo()] EXACT_MATCH]> but was:<[]>

junit.framework.ComparisonFailure: Unexpected search results. ----------- Expected ------------ Test.java void Test.foo(Ref) [foo()] EXACT_MATCH ------------ but was ------------


expected:<[Test.java void Test.foo(Ref) [foo()] EXACT_MATCH]> but was:<[]> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:267) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:242) at org.eclipse.jdt.core.tests.model.AbstractJavaSearchTests.assertSearchResults(AbstractJavaSearchTests.java:948) at org.eclipse.jdt.core.tests.model.AbstractJavaSearchTests.assertSearchResults(AbstractJavaSearchTests.java:906) at org.eclipse.jdt.core.tests.model.AbstractJavaSearchTests.assertSearchResults(AbstractJavaSearchTests.java:903) at org.eclipse.jdt.core.tests.model.JavaSearchBugsTests.testBug339891(JavaSearchBugsTests.java:12939) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at junit.framework.TestCase.runTest(TestCase.java:177) at org.eclipse.jdt.core.tests.junit.extension.TestCase.runTest(TestCase.java:972) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:116) at junit.framework.TestSuite.run(TestSuite.java:236) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:99) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite$1.protect(SuiteOfTestCases.java:87) at junit.framework.TestResult.runProtected(TestResult.java:142) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:96) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236)

subyssurendran666 commented 1 week ago

Also reported here here.