summaryrefslogtreecommitdiff
path: root/jstests/padding.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-04-16 17:12:16 -0400
committerEliot Horowitz <eliot@10gen.com>2012-04-16 17:12:16 -0400
commit458f5d6e356bb2ff18fbfb58d3fa069d8edaf6c7 (patch)
tree1fcd0d2f120062a95f8a8e25770acfa98a40107f /jstests/padding.js
parent0f24625d844cbd5ff939e177a7c29a528e4995bc (diff)
downloadmongo-458f5d6e356bb2ff18fbfb58d3fa069d8edaf6c7.tar.gz
math in test is a bit fuzzy
Diffstat (limited to 'jstests/padding.js')
-rw-r--r--jstests/padding.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/padding.js b/jstests/padding.js
index f6392c413ec..9b2754e528a 100644
--- a/jstests/padding.js
+++ b/jstests/padding.js
@@ -57,5 +57,5 @@ for (var i = 0; i < 1000; i++) {
// should have trended somewhat higher over the above.
// speed of increase would be higher with more indexes.
-assert(p.stats().paddingFactor > ps + 0.03 , "now: " + p.stats().paddingFactor + " ps: " + ps );
-p.drop(); \ No newline at end of file
+assert(p.stats().paddingFactor > ps + 0.02 , "now: " + p.stats().paddingFactor + " ps: " + ps );
+p.drop();