blob: 2b5370b06baba0b73b97a61b089ff7cf65857d20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
db.fsync2.drop();
d = db.getSisterDB( "admin" );
assert.commandWorked( d.runCommand( {fsync:1, lock: 1 } ) );
// uncomment when fixed SERVER-519
db.fsync2.save( {x:1} );
m = new Mongo( db.getMongo().host );
assert( m.getDB("admin").$cmd.sys.unlock.findOne().ok );
// uncomment when fixed SERVER-519
assert.eq( 1, db.fsync2.count() );
|