Skip to content

Fix source scan race in plan visitor test#17786

Merged
JackieTien97 merged 1 commit into
masterfrom
fixUT0528
May 28, 2026
Merged

Fix source scan race in plan visitor test#17786
JackieTien97 merged 1 commit into
masterfrom
fixUT0528

Conversation

@shuwenwei
Copy link
Copy Markdown
Member

@shuwenwei shuwenwei commented May 28, 2026

Summary

  • Limit IPlanVisitorInheritanceConstraintTest source scanning to discovered src/main/java roots.
  • Use walkFileTree to skip target directories while discovering source roots.
  • Avoid races with concurrent tests creating or deleting target files.

@shuwenwei shuwenwei marked this pull request as ready for review May 28, 2026 09:34
@sonarqubecloud
Copy link
Copy Markdown

@JackieTien97 JackieTien97 merged commit 4e3bb11 into master May 28, 2026
43 checks passed
@JackieTien97 JackieTien97 deleted the fixUT0528 branch May 28, 2026 10:03
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.64%. Comparing base (623532a) to head (34331bd).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17786      +/-   ##
============================================
- Coverage     40.78%   40.64%   -0.14%     
+ Complexity     2613     2610       -3     
============================================
  Files          5184     5184              
  Lines        350727   350728       +1     
  Branches      44857    44857              
============================================
- Hits         143041   142561     -480     
- Misses       207686   208167     +481     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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