Skip to content

Commit 18a60cf

Browse files
committed
[SPARK-51318][TESTS] Remove jar files from Apache Spark repository and disable affected tests
1 parent 4c9aee8 commit 18a60cf

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

sql/connect/client/jvm/src/test/scala/org/apache/spark/sql/application/ReplE2ESuite.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ class ReplE2ESuite extends ConnectFunSuite with RemoteSparkSession with BeforeAn
171171

172172
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
173173
"tests: Client-side JAR") {
174+
// scalastyle:off classforname line.size.limit
174175
val sparkHome = IntegrationTestUtils.sparkHome
175176
val testJar = Paths
176177
.get(s"$sparkHome/sql/connect/client/jvm/src/test/resources/TestHelloV2_$scalaVersion.jar")

sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,15 +394,17 @@ class CliSuite extends SparkFunSuite {
394394
"" -> "This is a test for Spark-11624")
395395
}
396396

397-
test("list jars") {
397+
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
398+
"test: list jars") {
398399
val jarFile = Thread.currentThread().getContextClassLoader.getResource("TestUDTF.jar")
399400
runCliWithin(2.minute)(
400401
s"ADD JAR $jarFile;" -> "",
401402
s"LIST JARS;" -> "TestUDTF.jar"
402403
)
403404
}
404405

405-
test("list jar <jarfile>") {
406+
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
407+
"test: list jar <jarfile>") {
406408
val jarFile = Thread.currentThread().getContextClassLoader.getResource("TestUDTF.jar")
407409
runCliWithin(2.minute)(
408410
s"ADD JAR $jarFile;" -> "",
@@ -448,7 +450,8 @@ class CliSuite extends SparkFunSuite {
448450
)
449451
}
450452

451-
test("SPARK-28840 test --jars command") {
453+
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
454+
"test: SPARK-28840 test --jars command") {
452455
val jarFile = new File("../../sql/hive/src/test/resources/SPARK-21101-1.0.jar").getCanonicalPath
453456
runCliWithin(
454457
1.minute,
@@ -459,7 +462,8 @@ class CliSuite extends SparkFunSuite {
459462
)
460463
}
461464

462-
test("SPARK-28840 test --jars and hive.aux.jars.path command") {
465+
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
466+
"test: SPARK-28840 test --jars and hive.aux.jars.path command") {
463467
val jarFile = new File("../../sql/hive/src/test/resources/SPARK-21101-1.0.jar").getCanonicalPath
464468
val hiveContribJar = HiveTestJars.getHiveContribJar().getCanonicalPath
465469
runCliWithin(

sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,8 @@ class HiveThriftBinaryServerSuite extends HiveThriftServer2Test {
565565
}
566566
}
567567

568-
test("SPARK-11595 ADD JAR with input path having URL scheme") {
568+
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
569+
"tests: SPARK-11595 ADD JAR with input path having URL scheme") {
569570
withJdbcStatement("test_udtf") { statement =>
570571
try {
571572
val jarPath = "../hive/src/test/resources/TestUDTF.jar"
@@ -999,7 +1000,8 @@ class SingleSessionSuite extends HiveThriftServer2TestBase {
9991000
override protected def extraConf: Seq[String] =
10001001
s"--conf ${HIVE_THRIFT_SERVER_SINGLESESSION.key}=true" :: Nil
10011002

1002-
test("share the temporary functions across JDBC connections") {
1003+
ignore("SPARK-51318: Remove `jar` files from Apache Spark repository and disable affected " +
1004+
"test: share the temporary functions across JDBC connections") {
10031005
withMultipleConnectionJdbcStatement("test_udtf")(
10041006
{ statement =>
10051007
val jarPath = "../hive/src/test/resources/TestUDTF.jar"

0 commit comments

Comments
 (0)