Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random failing JavaModelTests.testPreProcessingResourceChangedListener04, testPreProcessingResourceChangedListener01 #3249

Open
subyssurendran666 opened this issue Nov 5, 2024 · 4 comments
Labels
build test failure Unit Test failures in builds - maynot be a regression caused by the previous change test Work on unit tests, no change of productive code

Comments

@subyssurendran666
Copy link
Contributor

subyssurendran666 commented Nov 5, 2024

In https://download.eclipse.org/eclipse/downloads/drops4/I20241104-1800/testresults/html/org.eclipse.jdt.core.tests.model_ep434I-unit-linux-x86_64-java17_linux.gtk.x86_64_17.html

Unexpected event type expected:<17> but was:<16>

junit.framework.AssertionFailedError: Unexpected event type expected:<17> but was:<16>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.TestCase.assertEquals(TestCase.java:377)
at org.eclipse.jdt.core.tests.model.JavaModelTests.testPreProcessingResourceChangedListener04(JavaModelTests.java:670)
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:970)
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:114)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:97)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite$1.protect(SuiteOfTestCases.java:85)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:94)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
@jukzi jukzi added test Work on unit tests, no change of productive code build test failure Unit Test failures in builds - maynot be a regression caused by the previous change labels Jan 7, 2025
@jukzi
Copy link
Contributor

jukzi commented Jan 7, 2025

in https://download.eclipse.org/eclipse/downloads/drops4/I20250106-1800/testresults/html/org.eclipse.jdt.core.tests.model_ep435I-unit-macosx-x86_64-java21_macosx.cocoa.x86_64_21.html
it was testPreProcessingResourceChangedListener01 to fail with similar exception:

junit.framework.AssertionFailedError: Unexpected event type expected:<1> but was:<0>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.TestCase.assertEquals(TestCase.java:377)
at org.eclipse.jdt.core.tests.model.JavaModelTests.testPreProcessingResourceChangedListener01(JavaModelTests.java:625)

@jukzi jukzi changed the title JavaModelTests.testPreProcessingResourceChangedListener04 fails with message: Unexpected event type expected Random failing JavaModelTests.testPreProcessingResourceChangedListener04, testPreProcessingResourceChangedListener01 Jan 7, 2025
@jukzi
Copy link
Contributor

jukzi commented Jan 20, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build test failure Unit Test failures in builds - maynot be a regression caused by the previous change test Work on unit tests, no change of productive code
Projects
None yet
Development

No branches or pull requests

2 participants