[ https://issues.apache.org/jira/browse/SPARK-16120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-16120: ------------------------------ Fix Version/s: (was: 2.0.0) 2.0.1 Technically we should consider these resolved for 2.0.1 now because there is a 2.0.0 RC out, though we will need another RC anyway, and at that time will change all 2.0.1 fix versions to 2.0.0 anyway, but hey. > getCurrentLogFiles method in ReceiverSuite "WAL - generating and cleaning" > case uses external variable instead of the passed parameter > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: SPARK-16120 > URL: https://issues.apache.org/jira/browse/SPARK-16120 > Project: Spark > Issue Type: Test > Components: Streaming, Tests > Reporter: Ahmed Mahran > Assignee: Ahmed Mahran > Priority: Trivial > Labels: easyfix, newbie, test > Fix For: 2.0.1 > > > In ReceiverSuite.scala, in the test case "write ahead log - generating and > cleaning", the inner method getCurrentLogFiles uses external variable > logDirectory1 instead of the passed parameter logDirectory > {code} > def getCurrentLogFiles(logDirectory: File): Seq[String] = { > try { > if (logDirectory.exists()) { > logDirectory1.listFiles().filter { _.getName.startsWith("log") }.map { > _.toString } > } else { > Seq.empty > } > } catch { > case e: Exception => > Seq.empty > } > } > {code} -- 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