Max Hirschhorn
8e7ab6c77d
SERVER-25451 Shard sharded_files_id_n.fs.chunks with unique=true.
2016-08-05 10:51:33 -04:00
Max Hirschhorn
01dfe61a6c
SERVER-23741 Use MongoRunner.runMongoTool() to run tools from JS tests.
...
Changes all usages of runMongoProgram(<mongo tool>, ...) to
MongoRunner.runMongoTool(<mongo tool>, {...}) to take advantage of the
--dialTimeout command line option supported by the mongo tools.
Adds support for specifying positional arguments to
MongoRunner.runMongoTool() in order to support all invocations of the
bsondump and mongofiles tools.
2016-06-07 16:01:44 -04:00
Mark Benvenuto
6dcdd23dd3
SERVER-23971 Clang-Format code
2016-05-28 17:55:12 -04:00
Gabriel Russell
54cb8dac78
SERVER-23290 fix lint
2016-03-23 11:31:45 -04:00
Gabriel Russell
13271aa2d7
SERVER-23290 very rare race in dumprestore_auth3.js
2016-03-23 10:27:53 -04:00
Mike Grundy
1be713cebb
SERVER-23067 Final round of JS linting and formatting
2016-03-18 17:10:31 -04:00
Mike Grundy
9345aac295
SERVER-23023 Disable clang-format for function values in jstests/tool/csvexport1.js
2016-03-09 12:29:22 -05:00
Jonathan Abrahams
4ae691e8ed
SERVER-22468 Format JS code with approved style in jstests/
2016-03-09 12:18:14 -05:00
Mike Grundy
2aeae1ee0f
SERVER-22597 Fix minor javascript errors found by eslint
2016-02-19 05:50:29 -05:00
Mike Grundy
55b5ad8723
SERVER-22341 fix jslint errors in jstests/tool with eslint --fix
2016-02-05 15:00:52 -05:00
Spencer Jackson
21bcf6b127
SERVER-21724 Let backup role read system.profile
2015-12-15 15:59:58 -05:00
Kaloian Manassiev
3ed6635a5f
SERVER-21050 Cleanup ReplSetTest
...
This is just a cleanup work to hide some of the private state of
ReplSetTest so it is easier to encapsulate and add new logic. Also enables
strict mode.
2015-12-08 13:05:00 -05:00
Jonathan Reams
338f764be0
SERVER-6102 Deserialize BSON undefined as JS undefined
2015-11-11 11:12:17 -05:00
Kaloian Manassiev
3db9d1338c
SERVER-21009 Remove usages of the multi-argument ShardingTest constructor
...
No functional changes, just converting everything to use the JSON-based
constructor.
Also moves some sharding-specific tests out of noPassthroughWithMongod and
under the sharding suite.
2015-10-23 09:50:35 -04:00
Dan Pasette
2a86489d6f
SERVER-20759 dumprestore.js chooses primary port for mongorestore
2015-10-05 14:12:46 -04:00
matt dannenberg
d789bca4c9
SERVER-18498 New replica set configurations have protocolVersion=1 by default
...
This re-adds Siyuan's work from commits 19d2885ec5 and 362aac3937 .
2015-10-01 08:00:10 -04:00
Jason Rassi
19d2885ec5
Revert "SERVER-18498 New replica set configurations have protocolVersion=1 by default"
...
This reverts commit 2c1facf471 .
2015-09-24 11:16:32 -04:00
Siyuan Zhou
2c1facf471
SERVER-18498 New replica set configurations have protocolVersion=1 by default
2015-09-23 14:50:56 -04:00
Dan Pasette
895db35390
SERVER-17425 Disallow creation of v0 indexes
2015-09-22 12:23:43 -04:00
Charlie Swanson
c15f4bb96d
SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports
2015-09-09 13:14:48 -04:00
Merry Mou
0c695aa1e8
SERVER-13647 give restore privileges to root
2015-08-21 16:06:42 -04:00
Gabriel Russell
223b4e28b6
TOOLS-833 disable unreliable dump to stdout test
...
o Its actually not ok to run any programs with runMongoProgram
that write binary data to standard output
2015-07-23 15:25:36 -04:00
Scott Hernandez
4d5b80ab7f
SERVER-18982: do inserts as inserts in replication
2015-07-20 17:10:13 -04:00
Randolph Tan
280fbae904
SERVER-18044 Make sharding test explicitly set primary shards for databases
2015-05-15 10:11:31 -04:00
mike o'brien
3140bfa914
SERVER-18239 dumpauth.js should use correct db/collection names
...
Signed-off-by: Ernie Hershey <ernie.hershey@10gen.com >
2015-04-28 13:22:20 -04:00
Spencer T Brody
7c1ad90880
SERVER-17971 Remove separateConfig option from ShardingTest and make its behavior the default
2015-04-14 13:53:47 -04:00
Spencer T Brody
6ccb82c987
SERVER-17450 Standardize on a single way to start mongod in tests
2015-04-06 18:19:21 -04:00
Benety Goh
a15dbb65ca
SERVER-17634 do not apply replicated insert operations on missing collections
2015-03-18 11:02:53 -04:00
matt dannenberg
0524c8beca
make tool_replset.js more resilient against certain failures
2015-02-26 10:29:19 -05:00
Mathias Stearn
ae18bbec33
SERVER-17312 collmod command now handles parsing of all arguments
...
For the two currently supported engine-specific options, the collmod command
will handle parsing the arguments and tell the CollectionCatalogEntry to
update it's flags option.
This removes the ability of storage engines to have custom options that can
be changed after the collection is created. There were issues related to
argument validation and replication of changes (including for initial sync).
A correct solution will be designed as SERVER-17320.
2015-02-19 19:55:44 -05:00
alabid
5f3fa2e775
SERVER-16893 Disallow creation of v0 indexes with non-mmapv1 storage engines
...
Also moved jstests/tool/dumprestore6.js to jstests/mmapv1/dumprestore6.js
since this JS test attempts to restore a v0 index
Closes #914
Signed-off-by: Benety Goh <benety@mongodb.com >
2015-01-23 17:03:07 -05:00
Jason Rassi
49c92c4d0a
SERVER-16522 Update remaining jstests to use getCollectionInfos()
2014-12-23 22:59:32 -05:00
Gabriel Russell
b896f4ca68
TOOLS-488 Tools exit 1 on error
...
Closes #890
Signed-off-by: Benety Goh <benety@mongodb.com >
2014-12-23 16:15:28 -05:00
Kyle Erf
6478e5ced5
SERVER-16235 fix dumprestore8.js on wiredtiger
...
Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com >
2014-12-17 09:06:58 -05: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
Mark Benvenuto
c052295f3e
SERVER-16186: newCollectionsUsePowerOf2Sizes should warn users it no longer works
2014-12-15 17:20:39 -05:00
mike o'brien
8fc0c842c0
TOOLS-492 stat1.js should explicitly specify --authenticationDatabase
...
Closes #880
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com >
2014-12-12 17:09:29 -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
mike o'brien
609a1492d2
TOOLS-327 fix tests relying on --w to use --writeConcern
2014-11-21 20:52:32 -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
e5f1fc0362
SERVER-15992 dumprestore_auth{2,3} js rely on W=0
...
Closes #865
Signed-off-by: Benety Goh <benety@mongodb.com >
2014-11-06 12:22:31 -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
6821e25b26
SERVER-15980 disable dumprestore_auth.js until it is rewritten to work on WT
...
Signed-off-by: Ian Whalen <ian.whalen@gmail.com >
2014-11-05 19:24:22 -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
Adam Midvidy
3af62b6af0
SERVER-15960 dumpfilename1.js test should not depend on single-threaded semantics
...
Closes #858
Signed-off-by: Benety Goh <benety@mongodb.com >
2014-11-04 21:43:06 -05:00
mike o'brien
370dd5521a
TOOLS-261 dumprestore_auth test must allow listIndexes permission
...
Closes #841
Signed-off-by: Benety Goh <benety@mongodb.com >
2014-10-28 16:50:56 -04:00
Eric Milkie
06b3468eac
SERVER-15535 add version 2 to generated oplog document
2014-10-17 11:43:56 -04:00
mike o'brien
9dac9ae4ae
SERVER-15703 use w=1 for dumprestore test
...
Closes #830
Signed-off-by: Benety Goh <benety@mongodb.com >
2014-10-17 10:24:54 -04:00