Files
mongo/jstests/auth2.js
2011-06-22 13:49:25 -04:00

10 lines
199 B
JavaScript

// just make sure logout doesn't break anything
// SERVER-724
db.runCommand({logout : 1});
x = db.runCommand({logout : 1});
assert.eq( 1 , x.ok , "A" )
x = db.logout();
assert.eq( 1 , x.ok , "B" )