summaryrefslogtreecommitdiff
path: root/jstests/capped6.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-08-05 18:47:17 -0400
committerEliot Horowitz <eliot@10gen.com>2011-08-05 18:47:17 -0400
commitbd1ed814176784d24ba5ab8041280e48374d98bf (patch)
tree0a3c13f8829f8c0da3a096b310dc097046a96100 /jstests/capped6.js
parentd2092af24507de48d496354eedf8e190abf7b7e1 (diff)
downloadmongo-bd1ed814176784d24ba5ab8041280e48374d98bf.tar.gz
fix capped test
Diffstat (limited to 'jstests/capped6.js')
-rw-r--r--jstests/capped6.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/capped6.js b/jstests/capped6.js
index 65798075208..098f667732f 100644
--- a/jstests/capped6.js
+++ b/jstests/capped6.js
@@ -52,7 +52,7 @@ var max = 0;
*/
function doTest() {
for( var i = max; i < oldMax; ++i ) {
- tzz.save( val[ i ] );
+ tzz.insert( val[ i ] );
}
max = oldMax;
count = tzz.count();