diff options
Diffstat (limited to 'jstests/repl/repl2.js')
-rw-r--r-- | jstests/repl/repl2.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/repl/repl2.js b/jstests/repl/repl2.js index c9fe6b9..42b0caf 100644 --- a/jstests/repl/repl2.js +++ b/jstests/repl/repl2.js @@ -31,6 +31,8 @@ doTest = function( signal ) { assert.soon( function() { return 1 == s.getDB( "admin" ).runCommand( { "resync" : 1 } ).ok; } ); soonCount( 1001 ); + assert.automsg( "m.getDB( 'local' ).getCollection( 'oplog.$main' ).stats().size > 0" ); + as = s.getDB("foo").a assert.eq( 1, as.find( { i: 0 } ).count() ); assert.eq( 1, as.find( { i: 999 } ).count() ); |