You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Gabor Roczei (Jira)" <ji...@apache.org> on 2026/08/10 14:48:00 UTC
[jira] [Updated] (LIVY-1066) Upgrade scalatest to 3.2.9 and scalatra to 2.8.4
[ https://issues.apache.org/jira/browse/LIVY-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Roczei updated LIVY-1066:
-------------------------------
Affects Version/s: 1.0.0
> Upgrade scalatest to 3.2.9 and scalatra to 2.8.4
> ------------------------------------------------
>
> Key: LIVY-1066
> URL: https://issues.apache.org/jira/browse/LIVY-1066
> Project: Livy
> Issue Type: Sub-task
> Affects Versions: 1.0.0
> Reporter: Gabor Roczei
> Assignee: Gabor Roczei
> Priority: Major
>
> Upgrade ScalaTest 3.0.8 -> 3.2.9 and Scalatra 2.6.5 -> 2.8.4 as prerequisites for LIVY-1041 (Spark 4 / Scala 2.13 support).
> * ScalaTest 3.2 moved the top-level test-style classes into sub-packages: {{FunSuite}} -> {{funsuite.AnyFunSuite}}, {{FunSpec}} -> {{funspec.AnyFunSpec}}, {{FlatSpec}} -> {{flatspec.AnyFlatSpec}}, and {{org.scalatest.Matchers}} -> {{org.scalatest.matchers.should.Matchers}}. Also adds {{org.scalatestplus:mockito-3-4}} for the new Mockito integration used with ScalaTest 3.2.
> * Scalatra 2.8 dropped the {{ServletContext.initParameters(...) = ...}} pimp; replaced by the version-independent {{setInitParameter(...)}} call. Requires bumping the Dropwizard metrics dependency from 3.1.0 to 4.2.19 (needed by scalatra-metrics 2.8.4, otherwise the server fails with {{NoClassDefFoundError}} for {{HealthCheckFilter}}).
> Splitting these upgrades into a dedicated commit makes the LIVY-1041 review easier by isolating the mechanical test-file migration from the Spark 4 / Scala 2.13 source-code work.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)