Skip to content

Stabilize SortingTest match count#4177

Merged
akurtakov merged 1 commit into
eclipse-platform:masterfrom
akurtakov:akurtakov/sortingtest-stable-count
Jul 10, 2026
Merged

Stabilize SortingTest match count#4177
akurtakov merged 1 commit into
eclipse-platform:masterfrom
akurtakov:akurtakov/sortingtest-stable-count

Conversation

@akurtakov

Copy link
Copy Markdown
Member

Why mismatch: getMatchCount() can observe a different concurrent state than getElements()/getMatches() (cached count vs traversal), so the old comparison could race on Windows.

Fix: derive baseline count from the same collected match snapshot used for allMatches.

Should stabilize #3987

Why mismatch: getMatchCount() can observe a different concurrent state than getElements()/getMatches() (cached count vs traversal), so the old comparison could race on Windows.

Fix: derive baseline count from the same collected match snapshot used for allMatches.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   855 files  ±0     855 suites  ±0   58m 52s ⏱️ + 5m 12s
 8 110 tests ±0   7 867 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 232 runs  ±0  19 578 ✅ ±0  654 💤 ±0  0 ❌ ±0 

Results for commit 1352e9d. ± Comparison against base commit 84ad5a4.

@akurtakov

Copy link
Copy Markdown
Member Author

@trancexpress Do you have anything against merging this one ?

@trancexpress

Copy link
Copy Markdown
Contributor

No, no objections, lets hope the sporadic fails are gone after this. Thank you!

@akurtakov akurtakov merged commit f66c97d into eclipse-platform:master Jul 10, 2026
18 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.

2 participants