Commit Graph

16 Commits

Author SHA1 Message Date
Spencer T Brody
6ccb82c987 SERVER-17450 Standardize on a single way to start mongod in tests 2015-04-06 18:19:21 -04:00
Jason Rassi
0aede468dc SERVER-16518 listCollections response changed to cursor object form
As a temporary compatibility measure, the legacy behavior is preserved
if the "cursor" option is not sent with the command.  This
compatibility layer will be removed as part of work for the parent
ticket.
2014-12-16 14:31:58 -05:00
Sam Helman
0603b59fd8 TOOLS-494: fix restorewithauth.js and TOOLS-497: fix dumprestore_auth.js 2014-12-11 10:41:20 -05:00
Matt Kangas
ae6df7a0b1 TOOLS-450 Revert restorewithauth.js
This partially reverts commit bf834456c3
2014-12-10 22:13:01 -05:00
Sam Helman
bf834456c3 TOOLS-450 some dumprestore js tests query system.indexes or system.namespaces directly
Closes #875

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-12-10 16:18:57 -05:00
Adam Midvidy
491a9728d3 SERVER-15979 remove even more mmap_v1isms
Closes #866

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-11-06 14:11:24 -05:00
Adam Midvidy
cf1280d254 SERVER-15979 remove another mmap_v1ism from tool suite
Closes #864

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-11-06 12:21:01 -05:00
Adam Midvidy
a2512e3b7e SERVER-15979: Remove mmap_v1isms from tool suite
Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
2014-11-05 19:16:58 -05:00
Spencer T Brody
49fd6dbb2b SERVER-11555 Replace all occurrences of addUser with createUser in jstests 2013-11-06 17:11:39 -05:00
Benety Goh
2e10439eba SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell 2013-10-29 13:11:41 -04:00
Spencer T Brody
f0c6cebd73 SERVER-10794 Maintain backwards-compatible form of addUser for one more release 2013-10-11 18:14:12 -04:00
Spencer T Brody
ec23a4a358 SERVER-9517 Update tests to pass with new user schema 2013-09-06 12:31:22 -04:00
Andy Schwerin
00ac54a1d2 SERVER-8429 Fix tests in jstests/tool.
The affected tests depended on a behavior of mongodump and mongorestore in 2.2
and prior, whereby the tools would attempt authentication via the users'
credentials against several databases, until one matched.  This behavior is
risky, because it could leave the tool authenticating as a user with
insufficient privilege to do its task, and it is inconsistent with other tools.

The tool behavior in 2.4 is to authenticate against the target database if one
is supplied, or admin if none is supplied, unless the user overrides this
behavior by passing --authenticationDatabase=dbname to the tool.
2013-02-13 10:34:54 -05:00
Eliot Horowitz
1b181aa17c fix tests for new system.users index 2012-12-21 23:50:13 -05:00
Spencer T Brody
82578579b6 SERVER-7182 Call getLastError on the correct database in mongorestore 2012-09-28 17:36:08 -04:00
Siddharth Singh
05e09a4763 SERVER-4972 mongorestore restores without no auth
Test for mongorestore on server with --auth allows restore without
credentials of colls with no index
2012-06-04 10:06:31 -04:00