Commit c8fa9e7
Fix flaky test FileSearchTests.testBinaryContentTypeWithDescriber
The test was failing intermittently on Windows with "expected: <1> but
was: <2>" because it was searching the entire project scope where files
from other concurrent tests could interfere.
Changes:
- Use unique timestamped folder name to avoid conflicts
- Narrow search scope to only the test's specific folder
- Add comments explaining the fix
This ensures test isolation when running in parallel.
Fixes #3490
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c6e9f0f commit c8fa9e7
File tree
1 file changed
+5
-2
lines changed- tests/org.eclipse.search.tests/src/org/eclipse/search/tests/filesearch
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
605 | 607 | | |
606 | 608 | | |
607 | 609 | | |
608 | 610 | | |
609 | 611 | | |
610 | | - | |
| 612 | + | |
| 613 | + | |
611 | 614 | | |
612 | 615 | | |
613 | 616 | | |
| |||
0 commit comments