Commit Graph

221 Commits

Author SHA1 Message Date
David Golden
97214253d4 Import tools: e4705b54b0699ec5cbc1bedab90f9d26a9fbb816 from branch v4.1
ref: fde6c854ad..e4705b54b0
for: 4.1.11

TOOLS-1163    mongodump/restore mongoexport/import and slashes in collection names
TOOLS-1610    implement the extended json spec in import/export
TOOLS-1835    Migrate mongoimport to new Go Driver
TOOLS-1836    Migrate mongoexport to new Go Driver
TOOLS-1837    Migrate mongodump to new Go Driver
TOOLS-1838    Migrate mongorestore to new Go Driver
TOOLS-1839    Migrate mongostat to new Go Driver
TOOLS-1840    Migrate mongofiles to new Go Driver
TOOLS-1841    Migrate mongotop to new Go Driver
TOOLS-1842    Migrate bsondump to new Go Driver
TOOLS-1906    Ignore mongorestore error "x509 certificate routines:X509_STORE_add_cert:cert already in hash table"
TOOLS-2068    mongodump oplog delay
TOOLS-2137    Implement client metadata handshake support for each tool
TOOLS-2166    mongoimport --uri logs incorrect connected hosts
TOOLS-2173    Migrate mongo-tools-common to Go driver bson compatibility
TOOLS-2176    Vendor libraries for Go driver conversion
TOOLS-2179    TestBsondump doesnt run on windows
TOOLS-2182    Use Go driver for connection string URI parsing
TOOLS-2199    Remove --repair option from mongodump
TOOLS-2200    Tools qa tests failing in Evergreen with Go driver version of mongodump
TOOLS-2202    Fix mongostat js tests
TOOLS-2210    Build with tools with Address Space Layout Randomised (ASLR) flags enabled
TOOLS-2211    Migrate from Evergreen v2 toolchain to v3 toolchain
TOOLS-2213    Update tools to Go driver 1.0.0
TOOLS-2217    MongoExport doesn't parse read preference from URI
TOOLS-2222    Mongodump should ignore config.transactions and config.transaction_coordinators
TOOLS-2233    mongo-tools fails to build with go-1.12
TOOLS-2236    Build tools with Go 1.12
TOOLS-2247    Run gofmt
TOOLS-2249    mongodump panics if collection doesn't exist
TOOLS-2255    Tools should save metadata as canonical extended JSON
TOOLS-2256    Refactor mongodump oplog iterator byte copying
TOOLS-2257    Update bsondump to output canonical extended json
TOOLS-2259    Tools do not properly check for connection establishment before executing
TOOLS-2261    Tools kerberos tests failing
TOOLS-2269    Compile time version variables lost in conversion to external common library
TOOLS-2271    no_options_restore.js fails CI testing with latest
2019-04-23 17:50:42 -04:00
Gregory Wlodarek
a3ade6d9e9 SERVER-40436 Ignore the 'flags' field from the 'create' command 2019-04-11 08:21:33 -04:00
Gregory Wlodarek
093070a206 SERVER-38143 Removing MMAPV1 noprealloc command-line option from jstests 2018-12-11 21:12:03 -05:00
Dianna Hohensee
4cb0742947 SERVER-36015 Remove references to system.namespaces and system.indexes 2018-08-29 16:47:09 -04:00
Tess Avitabile
80ae7e58d3 SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes 2018-05-01 09:43:36 -04:00
jannaerin
b02701c53e SERVER-33997 Add requires_sharding tag to tests run in NoJournal suite 2018-03-20 10:13:37 -04:00
Ian Whalen
becfcd51e5 SERVER-32858 Add Evergreen tasks back to Linux (No Journal) builder 2018-03-09 09:56:14 -05:00
jannaerin
da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
Kevin Albertson
c556e37709 SERVER-25640 terminate running processes in jstests 2018-02-08 09:46:57 -05:00
Fiona Rowan
1504678cec SERVER-31375: pathExists, resetDbpath, copyDbpath should not print stacktrace on empty string 2017-11-28 17:18:43 -05:00
Ramon Fernandez
59cedee323 SERVER-31545 Remove deprecated mongooplog tool 2017-10-23 13:04:30 -04:00
Kyle Suarez
9e72a50f1e TOOLS-1746 fix lint 2017-10-05 12:46:57 -04:00
Kyle Suarez
096d4217a7 TOOLS-1746 fix missing semicolons and lint
The last "fix lint" made things worse because the missing semicolons
made clang-format do something bad.
2017-10-05 11:41:22 -04:00
Kyle Suarez
47b62c3fdd TOOLS-1764 fix lint 2017-10-05 10:20:08 -04:00
Will Banfield
232f7986c6 TOOLS-1764 fix tool_replset.js 2017-10-04 17:48:33 -04:00
Benety Goh
c14f4e64c9 SERVER-29876 change tool_replset.js to drop collection instead of database 2017-06-28 16:52:32 -04:00
Benety Goh
027b1151c7 SERVER-29876 change oplog_all_ops.js to drop collection instead of the database 2017-06-28 16:21:39 -04:00
Robert Guo
df10adbfe5 SERVER-27549 Print message on intentional server crash. 2017-05-23 15:18:12 -04:00
Matt Cotter
cf8fe65afc SERVER-26474 clean up dumprestore7.js
Right now, there is no meaningful information gained when this test
fails. I'm trying to indentify the cause of a recent failure, and the
logs are not useful as is.
2016-10-05 17:26:50 -04:00
Esha Maharishi
99c905a87a SERVER-26309 for renamed tests, change test name in blacklists to match 2016-09-30 17:54:39 -04:00
samantharitter
cdde8eaa80 fix lint 2016-09-30 17:05:22 -04:00
samantharitter
8da6c8665f SERVER-25839 Add a test for the shell's mkdir utility 2016-09-30 15:26:06 -04:00
Dan Pasette
9a4474ea06 Revert "SERVER-26309 Disable auto splitting in ShardingTest by default"
This reverts commit c47eb7408d.
2016-09-29 19:19:59 -04:00
Esha Maharishi
c47eb7408d SERVER-26309 Disable auto splitting in ShardingTest by default 2016-09-29 14:38:42 -04:00
Tess Avitabile
dc4a079760 SERVER-25155 Create setFeatureCompatibilityVersion command 2016-08-19 17:57:33 -04:00
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