summaryrefslogtreecommitdiff
path: root/jstests/sharding/passthrough1.js
blob: d5df0d2fcfa02e199ad299e250dd526b84da2530 (plain)
1
2
3
4
5
6
7
8
9
10

s = new ShardingTest( "passthrough1" , 2 )

db = s.getDB( "test" );
db.foo.insert( { num : 1 , name : "eliot" } );
db.foo.insert( { num : 2 , name : "sara" } );
db.foo.insert( { num : -1 , name : "joe" } );
assert.eq( 3 , db.foo.find().length() );

s.stop();