Skip to content

Commit c258db9

Browse files
hammerAndrew Or
authored andcommitted
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
1 parent 156cf33 commit c258db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/util/SizeEstimatorSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class SizeEstimatorSuite
118118
// TODO: If we sample 100 elements, this should always be 4176 ?
119119
val estimatedSize = SizeEstimator.estimate(Array.fill(1000)(d1))
120120
assert(estimatedSize >= 4000, "Estimated size " + estimatedSize + " should be more than 4000")
121-
assert(estimatedSize <= 4200, "Estimated size " + estimatedSize + " should be less than 4100")
121+
assert(estimatedSize <= 4200, "Estimated size " + estimatedSize + " should be less than 4200")
122122
}
123123

124124
test("32-bit arch") {

0 commit comments

Comments
 (0)