Skip to content

Make Java PreSubmit faster: Parallelize test - #40324

Merged
reuvenlax merged 2 commits into
apache:masterfrom
reuvenlax:improve_test_presubmit
Oct 1, 2026
Merged

reuvenlax merged 2 commits into
apache:masterfrom
reuvenlax:improve_test_presubmit

Conversation

@reuvenlax

@reuvenlax reuvenlax commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Use BeamParallelJunit4Runner for regular tests (previously it was used for ValidatesRunner tests only). Fixes a few classes that were not safe for parallel execution, and excludes remaining unsafe tests from parallel execution.

@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.46939% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.62%. Comparing base (020707d) to head (dc3c705).
⚠️ Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
...che/beam/sdk/testing/BeamParallelJunit4Runner.java 73.46% 15 Missing and 11 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #40324      +/-   ##
============================================
+ Coverage     56.15%   58.62%   +2.46%     
- Complexity     2290    13827   +11537     
============================================
  Files          1121     2580    +1459     
  Lines        177169   270333   +93164     
  Branches       1488    11214    +9726     
============================================
+ Hits          99489   158471   +58982     
- Misses        75158   105817   +30659     
- Partials       2522     6045    +3523     
Flag Coverage Δ
java 64.98% <73.46%> (-10.77%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @kennknowles for label java.
R: @Amar3tto for label build.
R: @Abacn for label website.

This pull request likely touches a core component ("core" label). Please review with scrutiny.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@reuvenlax
reuvenlax force-pushed the improve_test_presubmit branch from d7dc4ea to 70a7091 Compare September 30, 2026 23:58
@github-actions github-actions Bot removed the website label Sep 30, 2026
@github-actions github-actions Bot removed the prism label Sep 30, 2026
@reuvenlax reuvenlax changed the title Draft: Make Presubmits faster Make Java PreSubmit faster: Parallelize test Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants