diff options
author | Aaron <aaron@10gen.com> | 2009-05-20 16:47:02 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-20 16:47:02 -0400 |
commit | 5e3dc7e518ce993ff504b1858eb9b92d523a350a (patch) | |
tree | 00f9d871a1852a3d9d4dfb4c77d6adb824c46e13 /jstests/capped3.js | |
parent | 7155f7aa558dd6241179a5d3aff6200d1836ec7f (diff) | |
download | mongo-5e3dc7e518ce993ff504b1858eb9b92d523a350a.tar.gz |
cleaner test MINOR
Diffstat (limited to 'jstests/capped3.js')
-rw-r--r-- | jstests/capped3.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/capped3.js b/jstests/capped3.js index 4b9938c12eb..f3b29b7503d 100644 --- a/jstests/capped3.js +++ b/jstests/capped3.js @@ -32,8 +32,7 @@ t2.drop(); for( i = 0; i < 1000; ++i ) { t.save( {i:i} ); } -//assert.commandWorked( db.runCommand( { convertToCapped:"jstests_capped3", size:1000 } ) ); -assert( t.convertToCapped( 1000 ).ok ) +assert.commandWorked( t.convertToCapped( 1000 ) ); c = t.find().sort( {$natural:-1} ); i = 999; while( c.hasNext() ) { |