Skip to content

Commit 896bfda

Browse files
committed
Fix test
1 parent 098a2ed commit 896bfda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

worker/src/test/scala/org/apache/celeborn/service/deploy/worker/storage/StorageManagerSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class StorageManagerSuite extends CelebornFunSuite with MockitoHelper {
124124
diskInfo.setUsableSpace(-1L)
125125
// Should fail even if the status is HEALTHY
126126
diskInfo.setStatus(DiskStatus.HEALTHY)
127-
doReturn(List(diskInfo)).when(spyStorageManager).disksSnapshot()
127+
doReturn(List(diskInfo)).when(spyStorageManager).localDisksSnapshot()
128128

129129
val partitionLocation = genPartitionLocation(0, Array(0L))
130130

0 commit comments

Comments
 (0)