You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/02/15 07:11:12 UTC

[GitHub] [commons-bsf] dependabot[bot] opened a new pull request #10: Bump junit from 3.8.2 to 4.13.2

dependabot[bot] opened a new pull request #10:
URL: https://github.com/apache/commons-bsf/pull/10


   Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.2.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/junit-team/junit4/releases">junit's releases</a>.</em></p>
   <blockquote>
   <h2>JUnit 4.13.2</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.2.md">release notes</a> for details.</p>
   <h2>JUnit 4.13.1</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.1.md">release notes</a> for details.</p>
   <h2>JUnit 4.13</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.md">release notes</a> for details.</p>
   <h2>JUnit 4.13 RC 2</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
   <h2>JUnit 4.13 RC 1</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
   <h2>JUnit 4.13 Beta 3</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
   <h2>JUnit 4.13 Beta 2</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
   <h2>JUnit 4.13 Beta 1</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
   <h2>JUnit 4.12</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.12.md">release notes</a> for details.</p>
   <h2>JUnit 4.12 Beta 3</h2>
   <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.12.md">release notes</a> for details.</p>
   <h2>JUnit 4.12 Beta 2</h2>
   <p>No release notes provided.</p>
   <h2>JUnit 4.12 Beta 1</h2>
   <p>No release notes provided.</p>
   <h2>JUnit 4.11</h2>
   <p>No release notes provided.</p>
   </blockquote>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.2.md">junit's changelog</a>.</em></p>
   <blockquote>
   <h2>Summary of changes in version 4.13.2</h2>
   <h1>Rules</h1>
   <h3>[Pull request <a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1687">#1687</a>:](<a href="https://github-redirect.dependabot.com/junit-team/junit/pull/1687">junit-team/junit#1687</a>) Mark ThreadGroups created by FailOnTimeout as daemon groups</h3>
   <p>In JUnit 4.13 ([pull request <a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1517">#1517</a>](<a href="https://github-redirect.dependabot.com/junit-team/junit4/pull/1517">junit-team/junit4#1517</a>)) an attempt was
   made to fix leakage of the <code>ThreadGroup</code> instances created when a test is run with a timeout. That
   change explicitly destroyed the <code>ThreadGroup</code> that was created for the time-limited test. Numerous
   people reported problems that were caused by explicitly destroying the <code>ThreadGroup</code>.</p>
   <p>In this change, the code was updated to call  <code>ThreadGroup.setDaemon(true)</code> instead of destroying the
   ThreadGroup.</p>
   <h3><a href="https://github-redirect.dependabot.com/junit-team/junit/pull/1691">Pull request $1691:</a> Only create ThreadGroups if FailOnTimeout.lookForStuckThread is true.</h3>
   <p>In JUnit 4.12 ([pull request <a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/742">#742</a>](<a href="https://github-redirect.dependabot.com/junit-team/junit4/pull/742">junit-team/junit4#742</a>)) the <code>Timeout</code>
   Rule was updated to optionally display the stacktrace of the thread that appears to be stuck
   (enabled on an opt-in basis by passing <code>true</code> to <code>Timeout.Builder.lookForStuckThread(boolean)</code>).
   When that change was made, time-limited tests were changed to start the new thread in a new
   <code>ThreadGroup</code>, even if the test did not call <code>lookForStuckThread()</code>. This subtle change in
   behavior resulted in visible behavior changes to some tests (for example, tests of code that uses
   <code>java.beans.ThreadGroupContext</code>).</p>
   <p>In this change, the code is updated to only create a new <code>ThreadGroup</code> if the caller calls
   <code>Timeout.Builder.lookForStuckThread(true)</code>. 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 <code>Timeout</code> rule via the
   builder and call <code>Timeout.Builder.lookForStuckThread(true)</code>.</p>
   <h1>Exceptions</h1>
   <h3>[Pull request <a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1654">#1654</a>:](<a href="https://github-redirect.dependabot.com/junit-team/junit/pull/1654">junit-team/junit#1654</a>) Fix for issue <a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1192">#1192</a>: NotSerializableException with AssumptionViolatedException</h3>
   <p>This change fixes an issue where <code>AssumptionViolatedException</code> instances could not be serialized
   if they were created with a constructor that takes in an <code>org.hamcrest.Matcher</code> instance (these
   constructors are used if you use one of the <code>assumeThat()</code> methods in <code>org.junit.Assume</code>).</p>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/junit-team/junit4/commit/05fe2a64f59127c02135be22f416e91260d6ede6"><code>05fe2a6</code></a> [maven-release-plugin] prepare release r4.13.2</li>
   <li><a href="https://github.com/junit-team/junit4/commit/ff57344f7171ea8b0935c4f842cacf1097266592"><code>ff57344</code></a> Add build for JDK 17-ea</li>
   <li><a href="https://github.com/junit-team/junit4/commit/02aaa01b8f74c0eb496d76685ec49fddeb311087"><code>02aaa01</code></a> Improve check that thread is stopped</li>
   <li><a href="https://github.com/junit-team/junit4/commit/e9a75f4be71a4d5a794ccd063522eea4b0f3194f"><code>e9a75f4</code></a> Merge test for exception type and message</li>
   <li><a href="https://github.com/junit-team/junit4/commit/d27ad5259228e84c235dac24cd62f974ac0a8e1d"><code>d27ad52</code></a> Rename DelegateStatement to DelegatingStatement</li>
   <li><a href="https://github.com/junit-team/junit4/commit/b83dc2e8c4ff06cf233cd347f1280bb417482985"><code>b83dc2e</code></a> Better name for test that stops statement</li>
   <li><a href="https://github.com/junit-team/junit4/commit/527f3a3d0d71ad6dc66ede6f68f6fc316904ed2a"><code>527f3a3</code></a> Replace InfiniteLoop with RunForASecond</li>
   <li><a href="https://github.com/junit-team/junit4/commit/2db63942882d91020b46d7333285e5c94f1d1e52"><code>2db6394</code></a> Tidy up FailOnTimeoutTest</li>
   <li><a href="https://github.com/junit-team/junit4/commit/64634e1c3e357251a84278c26b73b04fc3450ea3"><code>64634e1</code></a> Update 4.13.2 release notes to document pull 1654</li>
   <li><a href="https://github.com/junit-team/junit4/commit/f8ee412316b1a94d3dc35498359cc2f0ca273216"><code>f8ee412</code></a> Fix serialization of AssumptionViolatedException (<a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1654">#1654</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.2">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=junit:junit&package-manager=maven&previous-version=3.8.2&new-version=4.13.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org