From 2e5fe7099ac713c746d9bab62a0538beab00a68c Mon Sep 17 00:00:00 2001 From: liangbowen Date: Mon, 29 May 2023 11:15:31 +0800 Subject: [PATCH] [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 Signed-off-by: liangbowen --- 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 @@ org.scalatestplus - mockito-4-6_${scala.binary.version} + mockito-4-11_${scala.binary.version} test 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 @@ org.scalatestplus - mockito-4-6_${scala.binary.version} + mockito-4-11_${scala.binary.version} test diff --git a/pom.xml b/pom.xml index b23fbd0d5..5bf90e748 100644 --- a/pom.xml +++ b/pom.xml @@ -174,7 +174,7 @@ 6.0.5 2.20.0 8.0.32 - 4.6.1 + 4.11.0 4.1.89.Final 0.12.0 1.10.1 @@ -183,8 +183,8 @@ 3.21.7 0.10.7 2.4.0 - 3.2.15 - 3.2.15.0 + 3.2.16 + 3.2.16.0 4.1.0 1.7.36 1.33 @@ -1043,7 +1043,7 @@ org.scalatestplus - mockito-4-6_${scala.binary.version} + mockito-4-11_${scala.binary.version} ${scalatestplus.version}