java-obd-api
java-obd-api copied to clipboard
Bump junit from 4.13 to 4.13.2
Bumps junit from 4.13 to 4.13.2.
Release notes
Sourced from junit's releases.
JUnit 4.13.2
Please refer to the release notes for details.
JUnit 4.13.1
Please refer to the release notes for details.
Changelog
Sourced from junit's changelog.
Summary of changes in version 4.13.2
Rules
[Pull request #1687:](junit-team/junit#1687) Mark ThreadGroups created by FailOnTimeout as daemon groups
In JUnit 4.13 ([pull request #1517](junit-team/junit4#1517)) an attempt was made to fix leakage of the
ThreadGroupinstances created when a test is run with a timeout. That change explicitly destroyed theThreadGroupthat was created for the time-limited test. Numerous people reported problems that were caused by explicitly destroying theThreadGroup.In this change, the code was updated to call
ThreadGroup.setDaemon(true)instead of destroying the ThreadGroup.Pull request $1691: Only create ThreadGroups if FailOnTimeout.lookForStuckThread is true.
In JUnit 4.12 ([pull request #742](junit-team/junit4#742)) the
TimeoutRule was updated to optionally display the stacktrace of the thread that appears to be stuck (enabled on an opt-in basis by passingtruetoTimeout.Builder.lookForStuckThread(boolean)). When that change was made, time-limited tests were changed to start the new thread in a newThreadGroup, even if the test did not calllookForStuckThread(). This subtle change in behavior resulted in visible behavior changes to some tests (for example, tests of code that usesjava.beans.ThreadGroupContext).In this change, the code is updated to only create a new
ThreadGroupif the caller callsTimeout.Builder.lookForStuckThread(true). Tests with timeouts that do not make this call will behave as they did in JUnit 4.11 (and more similar to tests that do not have a timeout). This unfortunately could result in visible changes of tests written or updated since the 4.12 release. If this change adversely affects your tests, you can create theTimeoutrule via the builder and callTimeout.Builder.lookForStuckThread(true).Exceptions
[Pull request #1654:](junit-team/junit#1654) Fix for issue #1192: NotSerializableException with AssumptionViolatedException
This change fixes an issue where
AssumptionViolatedExceptioninstances could not be serialized if they were created with a constructor that takes in anorg.hamcrest.Matcherinstance (these constructors are used if you use one of theassumeThat()methods inorg.junit.Assume).
Commits
05fe2a6[maven-release-plugin] prepare release r4.13.2ff57344Add build for JDK 17-ea02aaa01Improve check that thread is stoppede9a75f4Merge test for exception type and messaged27ad52Rename DelegateStatement to DelegatingStatementb83dc2eBetter name for test that stops statement527f3a3Replace InfiniteLoop with RunForASecond2db6394Tidy up FailOnTimeoutTest64634e1Update 4.13.2 release notes to document pull 1654f8ee412Fix serialization of AssumptionViolatedException (#1654)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)