aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/scala
diff options
context:
space:
mode:
authorJeff Hammerbacher <jeff.hammerbacher@gmail.com>2014-11-14 13:37:48 -0800
committerAndrew Or <andrew@databricks.com>2014-11-14 13:37:56 -0800
commite7f957437ad013d16992a7ab12da58fa8eb6a880 (patch)
treea7869fd4af6619bc6c4bf651e0282ed416542d5c /core/src/test/scala
parent88278241e9d9ca17db2f7c20d4434c32b7deff92 (diff)
downloadspark-e7f957437ad013d16992a7ab12da58fa8eb6a880.tar.gz
spark-e7f957437ad013d16992a7ab12da58fa8eb6a880.tar.bz2
spark-e7f957437ad013d16992a7ab12da58fa8eb6a880.zip
Update failed assert text to match code in SizeEstimatorSuite
Author: Jeff Hammerbacher <jeff.hammerbacher@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 (cherry picked from commit c258db9ed4104b6eefe9f55f3e3959a3c46c2900) Signed-off-by: Andrew Or <andrew@databricks.com>
Diffstat (limited to 'core/src/test/scala')
-rw-r--r--core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala2
1 files changed, 1 insertions, 1 deletions
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 f9d1af88f3..0ea2d13a83 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") {