Skip to content

Commit 4195283

Browse files
committed
fix
1 parent f2cd445 commit 4195283

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
190 Bytes
Binary file not shown.

core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ class SparkSubmitSuite
18141814
val testFile = "test_metrics_config.properties"
18151815
val testPyFile = "test_metrics_system.properties"
18161816
val testJar = "TestUDTF.jar"
1817-
val testArchives = "log4j2.properties"
1817+
val testArchives = "archive1.zip#test_archives"
18181818
val clArgs = Seq(
18191819
"--deploy-mode", "client",
18201820
"--proxy-user", "test.user",
@@ -1839,10 +1839,11 @@ class SparkSubmitSuite
18391839
appArgs.jars should be (Utils.resolveURIs(testJar))
18401840
appArgs.archives should be (Utils.resolveURIs(s"src/test/resources/$testArchives"))
18411841

1842+
Files.isDirectory(Paths.get("test_archives")) should be(true)
18421843
Files.delete(Paths.get(testFile))
18431844
Files.delete(Paths.get(testPyFile))
18441845
Files.delete(Paths.get(testJar))
1845-
Files.delete(Paths.get(testArchives))
1846+
Files.delete(Paths.get("test_archives/archive1.text"))
18461847
}
18471848

18481849
// Requires Python dependencies for Spark Connect. Should be enabled by default.

0 commit comments

Comments
 (0)