Skip to content

Wait for RefreshJob before waiting on indexer in ModifyingResourceTests.createFile()#5067

Merged
trancexpress merged 1 commit into
eclipse-jdt:masterfrom
trancexpress:gh421
May 15, 2026
Merged

Wait for RefreshJob before waiting on indexer in ModifyingResourceTests.createFile()#5067
trancexpress merged 1 commit into
eclipse-jdt:masterfrom
trancexpress:gh421

Conversation

@trancexpress
Copy link
Copy Markdown
Contributor

Latest test logs from failures in JavaSearchBugsTests2 show that RefreshJob can request indexing of test files in parallel to the main thread. Likely the RefreshJob picks up the delta first and the main thread finishes waiting before the indexing request is sent by RefreshJob.

This change adds waiting on RefreshJob before waiting on indexing, to hopefully prevent the test from not waiting on the index request.

See: #421

…ts.createFile()

Latest test logs from failures in JavaSearchBugsTests2 show that
RefreshJob can request indexing of test files in parallel to the main thread.
Likely the RefreshJob picks up the delta first and the main thread
finishes waiting before the indexing request is sent by RefreshJob.

This change adds waiting on RefreshJob before waiting on indexing,
to hopefully prevent the test from not waiting on the index request.

See: eclipse-jdt#421
@trancexpress trancexpress merged commit d340425 into eclipse-jdt:master May 15, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant