@@ -868,23 +868,23 @@ class BlockManagerSuite extends FunSuite with BeforeAndAfter with PrivateMethodT
868868 store.put(" list3" , list.iterator, StorageLevel .MEMORY_AND_DISK , tellMaster = true )
869869
870870 // getLocations and getBlockStatus should yield the same locations
871- assert(store.master.getMatchinghBlockIds (_.toString.contains(" list" ), askSlaves = false ).size === 3 )
872- assert(store.master.getMatchinghBlockIds (_.toString.contains(" list1" ), askSlaves = false ).size === 1 )
871+ assert(store.master.getMatchingBlockIds (_.toString.contains(" list" ), askSlaves = false ).size === 3 )
872+ assert(store.master.getMatchingBlockIds (_.toString.contains(" list1" ), askSlaves = false ).size === 1 )
873873
874874 // insert some more blocks
875875 store.put(" newlist1" , list.iterator, StorageLevel .MEMORY_AND_DISK , tellMaster = true )
876876 store.put(" newlist2" , list.iterator, StorageLevel .MEMORY_AND_DISK , tellMaster = false )
877877 store.put(" newlist3" , list.iterator, StorageLevel .MEMORY_AND_DISK , tellMaster = false )
878878
879879 // getLocations and getBlockStatus should yield the same locations
880- assert(store.master.getMatchinghBlockIds (_.toString.contains(" newlist" ), askSlaves = false ).size === 1 )
881- assert(store.master.getMatchinghBlockIds (_.toString.contains(" newlist" ), askSlaves = true ).size === 3 )
880+ assert(store.master.getMatchingBlockIds (_.toString.contains(" newlist" ), askSlaves = false ).size === 1 )
881+ assert(store.master.getMatchingBlockIds (_.toString.contains(" newlist" ), askSlaves = true ).size === 3 )
882882
883883 val blockIds = Seq (RDDBlockId (1 , 0 ), RDDBlockId (1 , 1 ), RDDBlockId (2 , 0 ))
884884 blockIds.foreach { blockId =>
885885 store.put(blockId, list.iterator, StorageLevel .MEMORY_ONLY , tellMaster = true )
886886 }
887- val matchedBlockIds = store.master.getMatchinghBlockIds (_ match {
887+ val matchedBlockIds = store.master.getMatchingBlockIds (_ match {
888888 case RDDBlockId (1 , _) => true
889889 case _ => false
890890 }, askSlaves = true )
0 commit comments