This is an automated email from the ASF dual-hosted git repository.

yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f5f96cad224 [SPARK-48691][BUILD] Upgrade scalatest related 
dependencies to the 3.2.19 series
7f5f96cad224 is described below

commit 7f5f96cad22464e02679ab1a1c6eb08b9da039ef
Author: Wei Guo <[email protected]>
AuthorDate: Wed Jun 26 22:31:08 2024 +0800

    [SPARK-48691][BUILD] Upgrade scalatest related dependencies to the 3.2.19 
series
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade:
    -  `scalatest` to 3.2.19
    - `mockto` to 5.12.0
    - `selenium` to 4.21
    - `bytebuddy` to 1.14.17
    
    ### Why are the changes needed?
    
    Full release notes:
    
    scalatest: 
https://github.com/scalatest/scalatest/releases/tag/release-3.2.19
    mockito:
    https://github.com/mockito/mockito/releases/tag/v5.12.0
    https://github.com/mockito/mockito/releases/tag/v5.11.0
    selenium:
    
https://github.com/SeleniumHQ/selenium/compare/selenium-4.17.0...selenium-4.21.0
    bytebuddy:
    
https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.11...byte-buddy-1.14.17
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    - Pass GitHub Actions
    
    - Manual tests:
    
    ```
    build/sbt clean -Dguava.version=33.0.0-jre 
-Dspark.test.webdriver.chrome.driver=/opt/homebrew/bin/chromedriver 
-Dtest.default.exclude.tags="org.apache.spark.tags.ExtendedLevelDBTest" -Phive 
-Phive-thriftserver \
    "core/testOnly *HistoryServerSuite"
    ```
    ```
    build/sbt clean  -Dguava.version=33.0.0-jre 
-Dspark.test.webdriver.chrome.driver=/opt/homebrew/bin/chromedriver 
-Dtest.default.exclude.tags="org.apache.spark.tags.ExtendedLevelDBTest" -Phive 
-Phive-thriftserver \
    "core/testOnly *UISeleniumSuite"
    ```
    ```
    build/sbt clean  -Dguava.version=33.0.0-jre 
-Dspark.test.webdriver.chrome.driver=/opt/homebrew/bin/chromedriver 
-Dtest.default.exclude.tags="org.apache.spark.tags.ExtendedLevelDBTest" -Phive 
-Phive-thriftserver \
    "sql/testOnly *UISeleniumSuite"
    ```
    ```
    build/sbt clean  -Dguava.version=33.0.0-jre 
-Dspark.test.webdriver.chrome.driver=/opt/homebrew/bin/chromedriver 
-Dtest.default.exclude.tags="org.apache.spark.tags.ExtendedLevelDBTest" -Phive 
-Phive-thriftserver \
    "streaming/testOnly *UISeleniumSuite"
    ```
    ```
    build/sbt clean  -Dguava.version=33.0.0-jre 
-Dspark.test.webdriver.chrome.driver=/opt/homebrew/bin/chromedriver 
-Dtest.default.exclude.tags="org.apache.spark.tags.ExtendedLevelDBTest" -Phive 
-Phive-thriftserver \
    "hive-thriftserver/testOnly *UISeleniumSuite"
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #47065 from wayneguow/upgrade_mockito.
    
    Authored-by: Wei Guo <[email protected]>
    Signed-off-by: yangjie01 <[email protected]>
---
 pom.xml | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/pom.xml b/pom.xml
index b2e7bba3ec75..5e181cc38d31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -206,8 +206,8 @@
     <libthrift.version>0.16.0</libthrift.version>
     <antlr4.version>4.13.1</antlr4.version>
     <jpam.version>1.1</jpam.version>
-    <selenium.version>4.17.0</selenium.version>
-    <htmlunit3-driver.version>4.17.0</htmlunit3-driver.version>
+    <selenium.version>4.21.0</selenium.version>
+    <htmlunit3-driver.version>4.21.0</htmlunit3-driver.version>
     <maven-antrun.version>3.1.0</maven-antrun.version>
     <commons-crypto.version>1.1.0</commons-crypto.version>
     <commons-cli.version>1.8.0</commons-cli.version>
@@ -420,12 +420,12 @@
     </dependency>
     <dependency>
       <groupId>org.scalatestplus</groupId>
-      <artifactId>mockito-5-10_${scala.binary.version}</artifactId>
+      <artifactId>mockito-5-12_${scala.binary.version}</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.scalatestplus</groupId>
-      <artifactId>selenium-4-17_${scala.binary.version}</artifactId>
+      <artifactId>selenium-4-21_${scala.binary.version}</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
@@ -1156,25 +1156,25 @@
       <dependency>
         <groupId>org.scalatest</groupId>
         <artifactId>scalatest_${scala.binary.version}</artifactId>
-        <version>3.2.18</version>
+        <version>3.2.19</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.scalatestplus</groupId>
         <artifactId>scalacheck-1-18_${scala.binary.version}</artifactId>
-        <version>3.2.18.0</version>
+        <version>3.2.19.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.scalatestplus</groupId>
-        <artifactId>mockito-5-10_${scala.binary.version}</artifactId>
-        <version>3.2.18.0</version>
+        <artifactId>mockito-5-12_${scala.binary.version}</artifactId>
+        <version>3.2.19.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.scalatestplus</groupId>
-        <artifactId>selenium-4-17_${scala.binary.version}</artifactId>
-        <version>3.2.18.0</version>
+        <artifactId>selenium-4-21_${scala.binary.version}</artifactId>
+        <version>3.2.19.0</version>
         <scope>test</scope>
         <exclusions>
           <exclusion>
@@ -1186,19 +1186,19 @@
       <dependency>
         <groupId>org.mockito</groupId>
         <artifactId>mockito-core</artifactId>
-        <version>5.10.0</version>
+        <version>5.12.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>net.bytebuddy</groupId>
         <artifactId>byte-buddy</artifactId>
-        <version>1.14.11</version>
+        <version>1.14.17</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>net.bytebuddy</groupId>
         <artifactId>byte-buddy-agent</artifactId>
-        <version>1.14.11</version>
+        <version>1.14.17</version>
         <scope>test</scope>
       </dependency>
       <dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to