summaryrefslogtreecommitdiff
path: root/jstests/gle/core/error3.js
blob: 7067f68f8a825f1aa1f22bb5a9f62a116a7171bd (plain)
1
2
3
4
5

db.runCommand("forceerror");
assert.eq("forced error", db.getLastError());
db.runCommand("switchtoclienterrors");
assert.isnull(db.getLastError());