Skip to content

Commit 63afdfb

Browse files
committed
var to val in test
1 parent 400b8fa commit 63afdfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ class BlockManagerSuite extends FunSuite with Matchers with BeforeAndAfterEach
12411241
store.putIterator("most", mostList.iterator, memOnly)
12421242
assert(memoryStore.contains("most"))
12431243

1244-
var unrollResult = memoryStore.unrollSafely("small", smallList.iterator, droppedBlocks)
1244+
val unrollResult = memoryStore.unrollSafely("small", smallList.iterator, droppedBlocks)
12451245
verifyUnroll(smallList.iterator, unrollResult, shouldBeArray = true)
12461246
assert(memoryStore.currentUnrollMemoryForThisThread === 0)
12471247
assert(droppedBlocks.size === 1)

0 commit comments

Comments
 (0)