diff options
author | Jeff Hammerbacher <jeff.hammerbacher@gmail.com> | 2014-11-14 13:37:48 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2014-11-14 13:37:48 -0800 |
commit | c258db9ed4104b6eefe9f55f3e3959a3c46c2900 (patch) | |
tree | 01e8409fbcd917ab34823620e0537f5caeb50ee3 /core | |
parent | 156cf3333dcd93304eb5240f5a6466a3a0311957 (diff) | |
download | spark-c258db9ed4104b6eefe9f55f3e3959a3c46c2900.tar.gz spark-c258db9ed4104b6eefe9f55f3e3959a3c46c2900.tar.bz2 spark-c258db9ed4104b6eefe9f55f3e3959a3c46c2900.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
Diffstat (limited to 'core')
-rw-r--r-- | core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala | 2 |
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") { |