June created SPARK-6585: --------------------------- Summary: FileServerSuite.test ("HttpFileServer should not work with SSL when the server is untrusted") failed is some evn. Key: SPARK-6585 URL: https://issues.apache.org/jira/browse/SPARK-6585 Project: Spark Issue Type: Bug Components: Tests Affects Versions: 1.3.0 Reporter: June Priority: Minor
In my test machine, FileServerSuite.test ("HttpFileServer should not work with SSL when the server is untrusted") case throw SSLException not SSLHandshakeException, suggest change to catch SSLException to add test case robustness. [info] - HttpFileServer should not work with SSL when the server is untrusted *** FAILED *** (69 milliseconds) [info] Expected exception javax.net.ssl.SSLHandshakeException to be thrown, but javax.net.ssl.SSLException was thrown. (FileServerSuite.scala:231) [info] org.scalatest.exceptions.TestFailedException: [info] at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:496) [info] at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1555) [info] at org.scalatest.Assertions$class.intercept(Assertions.scala:1004) [info] at org.scalatest.FunSuite.intercept(FunSuite.scala:1555) [info] at org.apache.spark.FileServerSuite$$anonfun$15.apply$mcV$sp(FileServerSuite.scala:231) [info] at org.apache.spark.FileServerSuite$$anonfun$15.apply(FileServerSuite.scala:224) [info] at org.apache.spark.FileServerSuite$$anonfun$15.apply(FileServerSuite.scala:224) [info] at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22) [info] at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85) [info] at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104) [info] at org.scalatest.Transformer.apply(Transformer.scala:22) [info] at org.scalatest.Transformer.apply(Transformer.scala:20) [info] at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:166) [info] at org.scalatest.Suite$class.withFixture(Suite.scala:1122) [info] at org.scalatest.FunSuite.withFixture(FunSuite.scala:1555) [info] at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:163) [info] at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175) [info] at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:175) [info] at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306) [info] at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:175) [info] at org.apache.spark.FileServerSuite.org$scalatest$BeforeAndAfterEach$$super$runTest(FileServerSuite.scala:34) [info] at org.scalatest.BeforeAndAfterEach$class.runTest(BeforeAndAfterEach.scala:255) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org