eclipse-jdt / eclipse-jdt/eclipse.jdt.core

ReconcilerTests.testBug36032* need the indexer

Open
#82 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

Running ReconcilerTests in isolation (i.e., outside AllJavaModelTests) hangs in testBug36032a(), stacktrace is:
```
at java.lang.Thread.sleep(java.base@11.0.2/Native Method)
at org.eclipse.jdt.core.tests.model.ReconcilerTests.assertNoProblem(ReconcilerTests.java:191)
at org.eclipse.jdt.core.tests.model.ReconcilerTests.testBug36032a(ReconcilerTests.java:3921)
```

In the debugger I can see four jobs in `JobManager#awaitingJobs`, but due to `TestCase#indexDisabledForTest` being true, the index manager is disabled in `setUp()`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.