diff --git a/jstests/sharding/sync1.js b/jstests/sharding/sync1.js index 282ba81c831..86e9eb55780 100644 --- a/jstests/sharding/sync1.js +++ b/jstests/sharding/sync1.js @@ -1,11 +1,12 @@ test = new SyncCCTest( "sync1" ) -t = test.conn.getDB( "test" ).sync1 +db = test.conn.getDB( "test" ) +t = db.sync1 t.save( { x : 1 } ) assert.eq( 1 , t.find().itcount() , "A1" ); t.save( { x : 2 } ) -assert.eq( 1 , t.find().itcount() , "A2" ); +assert.eq( 2 , t.find().itcount() , "A2" ); test.stop();