Skip to content

Commit 15356df

Browse files
committed
Fix unit tests
1 parent b351406 commit 15356df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/input/WholeTextFileInputFormatSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class WholeTextFileInputFormatSuite extends SparkFunSuite with BeforeAndAfterAll
7171
createNativeFile(dir, filename, contents, false)
7272
}
7373
// ensure spark job runs successfully without exceptions from the CombineFileInputFormat
74-
assert(sc.wholeTextFiles(dir.toString).count == 1)
74+
assert(sc.wholeTextFiles(dir.toString).count == 3)
7575
} finally {
7676
Utils.deleteRecursively(dir)
7777
}

0 commit comments

Comments
 (0)