Repository: kroxylicious/kroxylicious
Pull request #186 (2023-03-13 04:13:44)

Bump junit-bom from 5.8.2 to 5.9.2
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.8.2 to 5.9.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/junit-team/junit5/releases">junit-bom's releases</a>.</em></p>
<blockquote>
<p>JUnit 5.9.2 = Platform 1.9.2 + Jupiter 5.9.2 + Vintage 5.9.2</p>
<p>See <a href="http://junit.org/junit5/docs/5.9.2/release-notes/">Release Notes</a>.</p>
<p>JUnit 5.9.1 = Platform 1.9.1 + Jupiter 5.9.1 + Vintage 5.9.1</p>
<p>See <a href="http://junit.org/junit5/docs/5.9.1/release-notes/">Release Notes</a>.</p>
<p>JUnit 5.9.0 = Platform 1.9.0 + Jupiter 5.9.0 + Vintage 5.9.0</p>
<p>See <a href="http://junit.org/junit5/docs/5.9.0/release-notes/">Release Notes</a>.</p>
<p>JUnit 5.9.0-RC1 = Platform 1.9.0-RC1 + Jupiter 5.9.0-RC1 + Vintage 5.9.0-RC1</p>
<p>See <a href="http://junit.org/junit5/docs/5.9.0-RC1/release-notes/">Release Notes</a>.</p>
<p>JUnit 5.9.0-M1 = Platform 1.9.0-M1 + Jupiter 5.9.0-M1 + Vintage 5.9.0-M1</p>
<p>See <a href="http://junit.org/junit5/docs/5.9.0-M1/release-notes/">Release Notes</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/junit-team/junit5/commit/8ed3c66c7eb20b835cf92f50a7bf8830838c462e"><code>8ed3c66</code></a> Release 5.9.2</li>
<li><a href="https://github.com/junit-team/junit5/commit/742f99fcce6d8b8fbd38c7f541c55bdda771e220"><code>742f99f</code></a> Prepare 5.9.2 release notes</li>
<li><a href="https://github.com/junit-team/junit5/commit/a9a3cf5fb75ad9adf8c197224981226db8f41181"><code>a9a3cf5</code></a> Fix bug and polish contribution</li>
<li><a href="https://github.com/junit-team/junit5/commit/825ea38857bff2dcbc200c6ceb7972dbc89482b0"><code>825ea38</code></a> Introduce new <code>@MethodSource</code> syntax to differentiate overloaded local factor...</li>
<li><a href="https://github.com/junit-team/junit5/commit/0c40f5ef057c90a8d4b2249dd9a0b6e289426424"><code>0c40f5e</code></a> Polish Javadoc</li>
<li><a href="https://github.com/junit-team/junit5/commit/7d54016421d611a13db8196ea9625dfe1d9036c8"><code>7d54016</code></a> Update codecov-action</li>
<li><a href="https://github.com/junit-team/junit5/commit/bfeeac4d4142a3680737626a0ccdb9a708cabb2a"><code>bfeeac4</code></a> Remove duplicate copyright comment</li>
<li><a href="https://github.com/junit-team/junit5/commit/b0d9083315426b69d2bf38153987cdeb83460257"><code>b0d9083</code></a> Format integration test projects with Spotless as well</li>
<li><a href="https://github.com/junit-team/junit5/commit/c4ed325cb2ff825ecd0bda3870cf8444bdf646f0"><code>c4ed325</code></a> Update copyright</li>
<li><a href="https://github.com/junit-team/junit5/commit/0e3a1d32e504c63a09dbafc8c1926b66df417774"><code>0e3a1d3</code></a> Update upload-artifact action</li>
<li>Additional commits viewable in <a href="https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.junit:junit-bom&package-manager=maven&previous-version=5.8.2&new-version=5.9.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>

k-wall: @dependabot rebase
k-wall: @dependabot rebase


Patch:
diff --git a/pom.xml b/pom.xml
index 49a65d74..a905b987 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
         <freemarker.version>2.3.32</freemarker.version>
         <jackson.version>2.14.2</jackson.version>
         <jackson-databind.version>2.14.2</jackson-databind.version>
-        <junit.version>5.8.2</junit.version>
+        <junit.version>5.9.2</junit.version>
         <kafka.version>3.4.0</kafka.version>
         <log4j.version>2.17.2</log4j.version>
         <netty.version>4.1.89.Final</netty.version>


Test patch:
diff --git a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestDecoderTest.java b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestDecoderTest.java
index 718d87f5..0cdc4cd1 100644
--- a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestDecoderTest.java
+++ b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestDecoderTest.java
@@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RequestDecoderTest extends AbstractCodecTest {
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsExactlyOneFrame_decoded(short apiVersion) throws Exception {
         assertEquals(12,
                 exactlyOneFrame_decoded(apiVersion,
@@ -45,7 +45,7 @@ public class RequestDecoderTest extends AbstractCodecTest {
     }
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsExactlyOneFrame_opaque(short apiVersion) throws Exception {
         assertEquals(12,
                 exactlyOneFrame_encoded(apiVersion,
@@ -70,7 +70,7 @@ public class RequestDecoderTest extends AbstractCodecTest {
     }
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsFrameLessOneByte(short apiVersion) throws Exception {
         RequestHeaderData encodedHeader = exampleRequestHeader(apiVersion);
         ApiVersionsRequestData encodedBody = exampleApiVersionsRequest();
@@ -108,19 +108,19 @@ public class RequestDecoderTest extends AbstractCodecTest {
     }
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsFrameFirst3Bytes(short apiVersion) throws Exception {
         doTestApiVersionsFrameFirstNBytes(apiVersion, 3, 0);
     }
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsFrameFirst5Bytes(short apiVersion) throws Exception {
         doTestApiVersionsFrameFirstNBytes(apiVersion, 5, 0);
     }
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsExactlyTwoFrames(short apiVersion) throws Exception {
         RequestHeaderData encodedHeader = exampleRequestHeader(apiVersion);
 
diff --git a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestEncoderTest.java b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestEncoderTest.java
index bdc6233a..f77187dc 100644
--- a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestEncoderTest.java
+++ b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/RequestEncoderTest.java
@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 public class RequestEncoderTest extends AbstractCodecTest {
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersions(short apiVersion) throws Exception {
         RequestHeaderData exampleHeader = exampleRequestHeader(apiVersion);
         ApiVersionsRequestData exampleBody = exampleApiVersionsRequest();
diff --git a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseDecoderTest.java b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseDecoderTest.java
index a523deb5..251381c0 100644
--- a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseDecoderTest.java
+++ b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseDecoderTest.java
@@ -17,7 +17,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class ResponseDecoderTest extends AbstractCodecTest {
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsExactlyOneFrame_decoded(short apiVersion) throws Exception {
         var mgr = new CorrelationManager(12);
         mgr.putBrokerRequest(ApiKeys.API_VERSIONS.id, apiVersion, 52, true, null, null, true);
@@ -34,7 +34,7 @@ public class ResponseDecoderTest extends AbstractCodecTest {
     }
 
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersionsExactlyOneFrame_opaque(short apiVersion) throws Exception {
         var mgr = new CorrelationManager(12);
         mgr.putBrokerRequest(ApiKeys.API_VERSIONS.id, apiVersion, 52, true, null, null, false);
diff --git a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseEncoderTest.java b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseEncoderTest.java
index 509fea03..9ca6d8c0 100644
--- a/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseEncoderTest.java
+++ b/kroxylicious/src/test/java/io/kroxylicious/proxy/internal/codec/ResponseEncoderTest.java
@@ -17,7 +17,7 @@ import io.kroxylicious.proxy.frame.DecodedResponseFrame;
 
 public class ResponseEncoderTest extends AbstractCodecTest {
     @ParameterizedTest
-    @MethodSource("requestApiVersions")
+    @MethodSource("requestApiVersions()")
     public void testApiVersions(short apiVersion) throws Exception {
         ResponseHeaderData exampleHeader = exampleResponseHeader();
         ApiVersionsResponseData exampleBody = exampleApiVersionsResponse();