-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Security, Testing Infrastructure
-
None
-
ALL
mongo
MongoDB shell version: 2.0.1
connecting to: test
test[19:37:37]> db.foo.count()
Thu Nov 10 19:37:41 uncaught exception: count failed: {
"assertion" : "unauthorized db:test lock type:-1 client:127.0.0.1",
"assertionCode" : 10057,
"errmsg" : "db assertion failure",
"ok" : 0
}
test[19:37:41]> db.auth('spencer','password')
1
test[19:37:51]> db.foo.count()
10001
test[19:37:55]> benchRun({ops:[{op:"findOne", ns:'test' + ".$cmd", query:{dbstats:1}}], host:db.getMongo().host, parallel:2, seconds:2});
Thu Nov 10 19:38:04 Error: invalid parameter: expected an object () (anon):1
- is depended on by
-
SERVER-4237 Enable the full js test suite to run with authentication enabled
- Closed
- is related to
-
SERVER-6388 Make tests that use benchRun work when running with auth
- Closed