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 JobEventTest.testSleepOrderOfEvents #1687

Open
jukzi opened this issue Jan 16, 2025 · 0 comments
Open

Random failing JobEventTest.testSleepOrderOfEvents #1687

jukzi opened this issue Jan 16, 2025 · 0 comments
Labels
test junit test related things

Comments

@jukzi
Copy link
Contributor

jukzi commented Jan 16, 2025

https://download.eclipse.org/eclipse/downloads/drops4/I20250115-1800/testresults/html/org.eclipse.core.tests.runtime_ep435I-unit-macosx-x86_64-java21_macosx.cocoa.x86_64_21.html

java.lang.AssertionError: java.lang.AssertionError: Too early. Expected to happen as Event 6 IJobChangeEvent.running() but was Event 5 Second IJobChangeEvent.aboutToRun() in Thread 'Worker-655'
at org.eclipse.core.tests.runtime.jobs.OrderAsserter.lambda$0(OrderAsserter.java:139)
at java.base/java.util.concurrent.ConcurrentLinkedQueue.forEachFrom(ConcurrentLinkedQueue.java:1037)
at java.base/java.util.concurrent.ConcurrentLinkedQueue.forEach(ConcurrentLinkedQueue.java:1054)
at org.eclipse.core.tests.runtime.jobs.OrderAsserter.assertNoErrors(OrderAsserter.java:138)
at org.eclipse.core.tests.runtime.jobs.JobEventTest.testSleepOrderOfEvents(JobEventTest.java:317)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.AssertionError: Too early. Expected to happen as Event 6 IJobChangeEvent.running() but was Event 5 Second IJobChangeEvent.aboutToRun() in Thread 'Worker-655'
at org.eclipse.core.tests.runtime.jobs.OrderAsserter.addError(OrderAsserter.java:123)
at org.eclipse.core.tests.runtime.jobs.OrderAsserter.expect(OrderAsserter.java:97)
at org.eclipse.core.tests.runtime.jobs.OrderAsserter.expect(OrderAsserter.java:65)
at org.eclipse.core.tests.runtime.jobs.JobEventTest$6.running(JobEventTest.java:300)
at org.eclipse.core.internal.jobs.JobListeners.sendEvent(JobListeners.java:160)
at org.eclipse.core.internal.jobs.JobListeners.sendEventsAsync(JobListeners.java:140)
at org.eclipse.core.internal.jobs.JobListeners.waitAndSendEvents(JobListeners.java:80)
at org.eclipse.core.internal.jobs.JobManager.withWriteLock(JobManager.java:551)
at org.eclipse.core.internal.jobs.JobManager.startJob(JobManager.java:1791)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:244)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.lang.AssertionError: Too early. Expected to happen as Event 6 IJobChangeEvent.running() but was Event 5 Second IJobChangeEvent.aboutToRun()
at org.eclipse.core.tests.runtime.jobs.OrderAsserter.expect(OrderAsserter.java:94)
... 9 more
@jukzi jukzi added the test junit test related things label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test junit test related things
Projects
None yet
Development

No branches or pull requests

1 participant