Skip to content

Commit e8fded2

Browse files
committed
Added a test case for triple slashed file scheme like "file:///"
1 parent a2c3618 commit e8fded2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ClientSuite extends FunSuite with Matchers {
2424
test("correctly validates driver jar URL's") {
2525
ClientArguments.isValidJarUrl("http://someHost:8080/foo.jar") should be (true)
2626
ClientArguments.isValidJarUrl("file://some/path/to/a/jarFile.jar") should be (true)
27+
ClientArguments.isValidJarUrl("file:///some/path/to/a/jarFile.jar") should be (true)
2728
ClientArguments.isValidJarUrl("hdfs://someHost:1234/foo.jar") should be (true)
2829

2930
ClientArguments.isValidJarUrl("hdfs://someHost:1234/foo") should be (false)

0 commit comments

Comments
 (0)