From d6b6c680be7d8dcd186b42dbd6899de67852a8d9 Mon Sep 17 00:00:00 2001 From: Ali Ghodsi Date: Fri, 16 Aug 2013 14:14:50 -0700 Subject: comment in the test to make it more understandable --- core/src/test/scala/spark/RDDSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/test/scala/spark/RDDSuite.scala b/core/src/test/scala/spark/RDDSuite.scala index 0532435288..da5f78aef5 100644 --- a/core/src/test/scala/spark/RDDSuite.scala +++ b/core/src/test/scala/spark/RDDSuite.scala @@ -221,7 +221,7 @@ class RDDSuite extends FunSuite with SharedSparkContext { assert(maxImbalance <= 20, "Expected 100 +/- 20 per partition, but got " + maxImbalance) // TDD: Test for later when we have implemented functionality to get locality from DAGScheduler - val data3 = sc.makeRDD(blocks).map( i => i*2 ) + val data3 = sc.makeRDD(blocks).map( i => i*2 ) // derived RDD to test *current* pref locs val coalesced3 = data3.coalesce(numMachines*2) val minLocality2 = coalesced3.partitions .map( part => part.asInstanceOf[CoalescedRDDPartition].localFraction ) -- cgit v1.2.3