Skip to content

Commit b348ce1

Browse files
committed
fixed order in check (prefix only appears on jenkins not when I run unit tests locally)
1 parent 0588737 commit b348ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/FileSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class FileSuite extends FunSuite with LocalSparkContext {
245245
val (infile: String, indata: PortableDataStream) = inRdd.first
246246

247247
// Try reading the output back as an object file
248-
assert(outFileName.contains(infile)) // a prefix may get added
248+
assert(infile.contains(outFileName)) // a prefix may get added
249249
assert(indata.toArray === testOutput)
250250
}
251251

0 commit comments

Comments
 (0)