✕
Skip to content

Fix out of memory errors with big JUnit 4 suites (#3511) - #3515

Merged
olamy merged 1 commit into
apache:masterfrom
olamy:JUnitPlatformProvider-memory
Oct 9, 2026
Merged

olamy merged 1 commit into
apache:masterfrom
olamy:JUnitPlatformProvider-memory

Conversation

@olamy

@olamy olamy commented Oct 8, 2026

Copy link
Copy Markdown
Member

Since 3.6.0 JUnit 3/4 projects run on the Vintage engine, and with
one fork all test classes went into a single launch, keeping the
whole test plan in memory. Run them one class at a time again, like
3.5.x did (unless classes run in parallel).

Also forget a test's id once it has passed or been skipped. Only
failed tests need to keep theirs for reruns.

Signed-off-by: Olivier Lamy olamy@apache.org


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

@olamy olamy added the enhancement New feature or request label Oct 8, 2026
Since 3.6.0 JUnit 3/4 projects run on the Vintage engine, and with
one fork all test classes went into a single launch, keeping the
whole test plan in memory. Run them one class at a time again, like
3.5.x did (unless classes run in parallel).

Also forget a test's id once it has passed or been skipped. Only
failed tests need to keep theirs for reruns.

Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy
olamy force-pushed the JUnitPlatformProvider-memory branch from eb4646e to 7dc502e Compare October 8, 2026 20:56
@olamy olamy added this to the 3.6.1 milestone Oct 8, 2026
@olamy
olamy merged commit 1c5c478 into apache:master Oct 9, 2026
30 of 31 checks passed
@olamy
olamy deleted the JUnitPlatformProvider-memory branch October 9, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant