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 2022/10/18 12:02:18 UTC

[GitHub] [commons-jxpath] dependabot[bot] opened a new pull request, #30: Bump junit from 3.8.1 to 4.13.2

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

   Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 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>See full diff in <a href="https://github.com/junit-team/junit4/commits/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.1&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.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

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


[GitHub] [commons-jxpath] codecov-commenter commented on pull request #30: Bump junit from 3.8.1 to 4.13.2

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on PR #30:
URL: https://github.com/apache/commons-jxpath/pull/30#issuecomment-1282601424

   # [Codecov](https://codecov.io/gh/apache/commons-jxpath/pull/30?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > :exclamation: No coverage uploaded for pull request base (`master@42da558`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#section-missing-base-commit).
   > The diff coverage is `n/a`.
   
   ```diff
   @@            Coverage Diff            @@
   ##             master      #30   +/-   ##
   =========================================
     Coverage          ?   68.99%           
     Complexity        ?     3124           
   =========================================
     Files             ?      152           
     Lines             ?     9395           
     Branches          ?     2010           
   =========================================
     Hits              ?     6482           
     Misses            ?     2118           
     Partials          ?      795           
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

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


[GitHub] [commons-jxpath] garydgregory merged pull request #30: Bump junit from 3.8.1 to 4.13.2

Posted by GitBox <gi...@apache.org>.
garydgregory merged PR #30:
URL: https://github.com/apache/commons-jxpath/pull/30


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

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


[GitHub] [commons-jxpath] garydgregory commented on pull request #30: Bump junit from 3.8.1 to 4.13.2

Posted by GitBox <gi...@apache.org>.
garydgregory commented on PR #30:
URL: https://github.com/apache/commons-jxpath/pull/30#issuecomment-1282556198

   @dependabot rebase


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

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