diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/geo_polygon.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/geo_polygon.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/noPassthroughWithMongod/geo_polygon.js b/jstests/noPassthroughWithMongod/geo_polygon.js index 5b19b2b2080..25bf0269ccc 100644 --- a/jstests/noPassthroughWithMongod/geo_polygon.js +++ b/jstests/noPassthroughWithMongod/geo_polygon.js @@ -15,14 +15,12 @@ if ( bi.indexOf( "erh2" ) >= 0 ){ if ( shouldRun ) { num = 0; - var bulk = t.initializeUnorderedBulkOp(); for ( x = -180; x < 180; x += .5 ){ for ( y = -180; y < 180; y += .5 ){ o = { _id : num++ , loc : [ x , y ] }; - bulk.insert( o ); + t.save( o ); } } - assert.writeOK(bulk.execute()); var numTests = 31; for( var n = 0; n < numTests; n++ ){ |