Skip to content

Commit 2b61347

Browse files
author
Sergei Lebedev
committed
Fixed DiskBlockManagerSuite
1 parent ff9a6ae commit 2b61347

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/test/scala/org/apache/spark/storage/DiskBlockManagerSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ class DiskBlockManagerSuite extends SparkFunSuite with BeforeAndAfterEach with B
8181
}
8282

8383
test("SPARK-22227: non-block files are skipped") {
84-
val blockId = TempShuffleBlockId(UUID.randomUUID())
85-
val file = diskBlockManager.getFile(blockId)
84+
val file = diskBlockManager.getFile("unmanaged_file")
8685
writeToFile(file, 10)
8786
assert(diskBlockManager.getAllBlocks().isEmpty)
8887
}

0 commit comments

Comments
 (0)