Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump junit from 3.8.2 to 4.13.2 #616

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2022

Bumps junit from 3.8.2 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.

JUnit 4.13

Please refer to the release notes for details.

JUnit 4.13 RC 2

Please refer to the release notes for details.

JUnit 4.13 RC 1

Please refer to the release notes for details.

JUnit 4.13 Beta 3

Please refer to the release notes for details.

JUnit 4.13 Beta 2

Please refer to the release notes for details.

JUnit 4.13 Beta 1

Please refer to the release notes for details.

JUnit 4.12

Please refer to the release notes for details.

JUnit 4.12 Beta 3

Please refer to the release notes for details.

JUnit 4.12 Beta 2

No release notes provided.

JUnit 4.12 Beta 1

No release notes provided.

JUnit 4.11

No release notes provided.

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 ThreadGroup instances created when a test is run with a timeout. That change explicitly destroyed the ThreadGroup that was created for the time-limited test. Numerous people reported problems that were caused by explicitly destroying the ThreadGroup.

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 Timeout Rule was updated to optionally display the stacktrace of the thread that appears to be stuck (enabled on an opt-in basis by passing true to Timeout.Builder.lookForStuckThread(boolean)). When that change was made, time-limited tests were changed to start the new thread in a new ThreadGroup, even if the test did not call lookForStuckThread(). This subtle change in behavior resulted in visible behavior changes to some tests (for example, tests of code that uses java.beans.ThreadGroupContext).

In this change, the code is updated to only create a new ThreadGroup if the caller calls Timeout.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 the Timeout rule via the builder and call Timeout.Builder.lookForStuckThread(true).

Exceptions

[Pull request #1654:](junit-team/junit#1654) Fix for issue #1192: NotSerializableException with AssumptionViolatedException

This change fixes an issue where AssumptionViolatedException instances could not be serialized if they were created with a constructor that takes in an org.hamcrest.Matcher instance (these constructors are used if you use one of the assumeThat() methods in org.junit.Assume).

Commits
  • 05fe2a6 [maven-release-plugin] prepare release r4.13.2
  • ff57344 Add build for JDK 17-ea
  • 02aaa01 Improve check that thread is stopped
  • e9a75f4 Merge test for exception type and message
  • d27ad52 Rename DelegateStatement to DelegatingStatement
  • b83dc2e Better name for test that stops statement
  • 527f3a3 Replace InfiniteLoop with RunForASecond
  • 2db6394 Tidy up FailOnTimeoutTest
  • 64634e1 Update 4.13.2 release notes to document pull 1654
  • f8ee412 Fix serialization of AssumptionViolatedException (#1654)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2022
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 7 times, most recently from 0697cd3 to 693401e Compare August 19, 2022 08:50
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 3 times, most recently from 4dde4c6 to c7329a0 Compare August 25, 2022 11:23
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 2 times, most recently from 0504744 to 8038dde Compare September 25, 2022 12:16
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 2 times, most recently from 971c06b to 81f0b49 Compare October 10, 2022 09:05
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 2 times, most recently from 8620937 to 845d1d4 Compare October 13, 2022 08:13
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 3 times, most recently from f6927ae to 76c6193 Compare October 29, 2022 22:23
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 2 times, most recently from c1cd938 to a5078ec Compare November 23, 2022 21:42
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 2 times, most recently from 3e96299 to 9e666c6 Compare December 1, 2022 09:39
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch from 9e666c6 to 7e8329c Compare December 17, 2022 23:06
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 4 times, most recently from 1df458f to 3a0cc85 Compare March 5, 2023 21:21
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch from 3a0cc85 to 7c57829 Compare March 23, 2023 09:24
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch 3 times, most recently from 6efa667 to b584efc Compare March 24, 2023 07:10
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch from b584efc to 001f116 Compare March 30, 2023 15:07
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.2.md)
- [Commits](junit-team/junit4@r3.8.2...r4.13.2)

---
updated-dependencies:
- dependency-name: junit:junit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/junit-junit-4.13.2 branch from 001f116 to 47e2431 Compare March 30, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants