Repository: spark Updated Branches: refs/heads/branch-2.1 7c371dec1 -> c3316743e
[SPARK-19646][BUILD][HOTFIX] Fix compile error from cherry-pick of SPARK-19646 into branch 2.1 ## What changes were proposed in this pull request? Fix compile error from cherry-pick of SPARK-19646 into branch 2.1 ## How was this patch tested? Jenkins tests Author: Sean Owen <[email protected]> Closes #17003 from srowen/SPARK-19646.2. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c3316743 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c3316743 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c3316743 Branch: refs/heads/branch-2.1 Commit: c3316743e676369ed8ce68fec5b28050a5a28d15 Parents: 7c371de Author: Sean Owen <[email protected]> Authored: Mon Feb 20 12:19:54 2017 -0800 Committer: Sean Owen <[email protected]> Committed: Mon Feb 20 12:19:54 2017 -0800 ---------------------------------------------------------------------- core/src/test/scala/org/apache/spark/FileSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c3316743/core/src/test/scala/org/apache/spark/FileSuite.scala ---------------------------------------------------------------------- diff --git a/core/src/test/scala/org/apache/spark/FileSuite.scala b/core/src/test/scala/org/apache/spark/FileSuite.scala index 0276575..467a16d 100644 --- a/core/src/test/scala/org/apache/spark/FileSuite.scala +++ b/core/src/test/scala/org/apache/spark/FileSuite.scala @@ -252,7 +252,7 @@ class FileSuite extends SparkFunSuite with LocalSparkContext { val inRdd = sc.binaryFiles(outFile.getAbsolutePath) val (infile, indata) = inRdd.collect().head // Make sure the name and array match - assert(infile.contains(outFileName)) // a prefix may get added + assert(infile.contains(outFile.getAbsolutePath)) // a prefix may get added assert(indata.toArray === testOutput) } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
