diff options
author | Ben Becker <ben.becker@10gen.com> | 2012-12-21 12:57:06 -0800 |
---|---|---|
committer | Ben Becker <ben.becker@10gen.com> | 2012-12-21 12:57:06 -0800 |
commit | 510dc00e63a9e33735f1d3afe21c4e5c5cd0077b (patch) | |
tree | 0798dff812f5d0317b948b238f8e470b218afb8b /jstests/big_object1.js | |
parent | e5011b33e5f8750b5bf8435442f3b17bb36e500f (diff) | |
download | mongo-510dc00e63a9e33735f1d3afe21c4e5c5cd0077b.tar.gz |
SERVER-7776: fix preemption mechanism, heap-allocated handles and handle scopes
Diffstat (limited to 'jstests/big_object1.js')
-rw-r--r-- | jstests/big_object1.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/big_object1.js b/jstests/big_object1.js index 7c047ca08d6..07c4150fb53 100644 --- a/jstests/big_object1.js +++ b/jstests/big_object1.js @@ -36,6 +36,12 @@ if ( db.adminCommand( "buildinfo" ).bits == 64 ){ for ( i=0; i<x; i++ ){ o = t.findOne( { _id : i } ) + try { + // test large mongo -> js conversion + var a = o.a; + } catch(e) { + assert(false, "Caught exception trying to insert during iteration " + i + ": " + e); + } assert( o , "B" + i ); } |