[KYUUBI #4894] Bump Mockito from 4.9.0 to 4.11.0 and ScalaTest from 3.2.15 to 3.2.16

### _Why are the changes needed?_

- ScalaTest 3.2.16 release note: https://github.com/scalatest/scalatest/releases/tag/release-3.2.16
- ScalaTestPlus plugin 3.2.16 releases plugin for Mockito 4.9.0 or above : https://github.com/scalatest/scalatestplus-mockito/releases/tag/release-3.2.16.0-for-mockito-4.11
- Mockito 4.11.0 is the latest available version of 4.x, which released in Dec 2022 and the last version supporting Java8 : https://github.com/mockito/mockito/releases/tag/v4.11.0

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4894 from bowenliang123/scalatest-3.2.16.

Closes #4894

f50c28253 [liangbowen] pom
36d4d0f98 [liangbowen] bump mockito to 4.11.0
80dfb28af [liangbowen] bump scalatest to 3.2.16

Authored-by: liangbowen <liangbowen@gf.com.cn>
Signed-off-by: liangbowen <liangbowen@gf.com.cn>
This commit is contained in:
liangbowen 2023-05-29 11:15:31 +08:00
parent 07e590ad26
commit 2e5fe7099a
3 changed files with 6 additions and 6 deletions

View File

@ -155,7 +155,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
<artifactId>mockito-4-6_${scala.binary.version}</artifactId>
<artifactId>mockito-4-11_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>

View File

@ -476,7 +476,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
<artifactId>mockito-4-6_${scala.binary.version}</artifactId>
<artifactId>mockito-4-11_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>

View File

@ -174,7 +174,7 @@
<ldapsdk.version>6.0.5</ldapsdk.version>
<log4j.version>2.20.0</log4j.version>
<mysql.jdbc.version>8.0.32</mysql.jdbc.version>
<mockito.version>4.6.1</mockito.version>
<mockito.version>4.11.0</mockito.version>
<netty.version>4.1.89.Final</netty.version>
<openai.java.version>0.12.0</openai.java.version>
<parquet.version>1.10.1</parquet.version>
@ -183,8 +183,8 @@
<protobuf.version>3.21.7</protobuf.version>
<py4j.version>0.10.7</py4j.version>
<ranger.version>2.4.0</ranger.version>
<scalatest.version>3.2.15</scalatest.version>
<scalatestplus.version>3.2.15.0</scalatestplus.version>
<scalatest.version>3.2.16</scalatest.version>
<scalatestplus.version>3.2.16.0</scalatestplus.version>
<scopt.version>4.1.0</scopt.version>
<slf4j.version>1.7.36</slf4j.version>
<snakeyaml.version>1.33</snakeyaml.version>
@ -1043,7 +1043,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
<artifactId>mockito-4-6_${scala.binary.version}</artifactId>
<artifactId>mockito-4-11_${scala.binary.version}</artifactId>
<version>${scalatestplus.version}</version>
</dependency>