Files
mongo/jstests/core/auth2.js
2016-03-09 12:18:14 -05:00

10 lines
191 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");