summaryrefslogtreecommitdiff
path: root/jstests/auth2.js
blob: 9c2b38f682db2c86f5b31b85bbc288d72f8af811 (plain)
1
2
3
4
5
6
7
8
9
// 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" )