You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by bo...@apache.org on 2023/05/29 03:15:46 UTC
[kyuubi] branch master updated: [KYUUBI #4894] Bump Mockito from 4.9.0 to 4.11.0 and ScalaTest from 3.2.15 to 3.2.16
This is an automated email from the ASF dual-hosted git repository.
bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 2e5fe7099 [KYUUBI #4894] Bump Mockito from 4.9.0 to 4.11.0 and ScalaTest from 3.2.15 to 3.2.16
2e5fe7099 is described below
commit 2e5fe7099ac713c746d9bab62a0538beab00a68c
Author: liangbowen <li...@gf.com.cn>
AuthorDate: Mon May 29 11:15:31 2023 +0800
[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 <li...@gf.com.cn>
Signed-off-by: liangbowen <li...@gf.com.cn>
---
kyuubi-common/pom.xml | 2 +-
kyuubi-server/pom.xml | 2 +-
pom.xml | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/kyuubi-common/pom.xml b/kyuubi-common/pom.xml
index 1ff8bea98..376bb860c 100644
--- a/kyuubi-common/pom.xml
+++ b/kyuubi-common/pom.xml
@@ -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>
diff --git a/kyuubi-server/pom.xml b/kyuubi-server/pom.xml
index 54d4507d5..2a7ce2270 100644
--- a/kyuubi-server/pom.xml
+++ b/kyuubi-server/pom.xml
@@ -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>
diff --git a/pom.xml b/pom.xml
index b23fbd0d5..5bf90e748 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>