diff options
Diffstat (limited to 'jstests/repl/repl20.js')
-rw-r--r-- | jstests/repl/repl20.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/repl/repl20.js b/jstests/repl/repl20.js index c30ef8d6f3c..02e50f58f1f 100644 --- a/jstests/repl/repl20.js +++ b/jstests/repl/repl20.js @@ -13,7 +13,8 @@ for( i = 0; i < 100000; ++i ) { } targetId = 1000*1000; -assert.writeOK(mc.insert({ _id: targetId, val: [ 1 ] })); +mc.insert( { _id:targetId, val:[ 1 ] } ); +master.getDB( 'd' ).getLastError(); slave = rt.start( false ); sc = slave.getDB( 'd' )[ 'c' ]; |