You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2014/11/14 22:37:52 UTC

spark git commit: Update failed assert text to match code in SizeEstimatorSuite

Repository: spark
Updated Branches:
  refs/heads/master 156cf3333 -> c258db9ed


Update failed assert text to match code in SizeEstimatorSuite

Author: Jeff Hammerbacher <je...@gmail.com>

Closes #3242 from hammer/patch-1 and squashes the following commits:

f88d635 [Jeff Hammerbacher] Update failed assert text to match code in SizeEstimatorSuite


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c258db9e
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c258db9e
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c258db9e

Branch: refs/heads/master
Commit: c258db9ed4104b6eefe9f55f3e3959a3c46c2900
Parents: 156cf33
Author: Jeff Hammerbacher <je...@gmail.com>
Authored: Fri Nov 14 13:37:48 2014 -0800
Committer: Andrew Or <an...@databricks.com>
Committed: Fri Nov 14 13:37:48 2014 -0800

----------------------------------------------------------------------
 core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c258db9e/core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala b/core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala
index f9d1af8..0ea2d13 100644
--- a/core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala
+++ b/core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala
@@ -118,7 +118,7 @@ class SizeEstimatorSuite
     // TODO: If we sample 100 elements, this should always be 4176 ?
     val estimatedSize = SizeEstimator.estimate(Array.fill(1000)(d1))
     assert(estimatedSize >= 4000, "Estimated size " + estimatedSize + " should be more than 4000")
-    assert(estimatedSize <= 4200, "Estimated size " + estimatedSize + " should be less than 4100")
+    assert(estimatedSize <= 4200, "Estimated size " + estimatedSize + " should be less than 4200")
   }
 
   test("32-bit arch") {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org