Commit Graph

135 Commits

Author SHA1 Message Date
Kaloian Manassiev
6745d91683 SERVER-21050 Introduce ReplSetTest.State enumeration everywhere
Makes all JS tests access the replica set member state from the class
itself instead of the object instance. Also removes some unused code.
2015-12-11 13:32:56 -05:00
Benety Goh
f4fb80e4a9 SERVER-21248 added checks to election_timing.js to ensure failovers complete on time.
(cherry picked from commit 0d5338a32b)
2015-12-10 13:37:33 -05:00
Jonathan Abrahams
f5bdb26566 SERVER-21516 Remove dbStats command from readConcern testing override
(cherry picked from commit f1b5088e9e)
2015-12-10 12:15:12 -05:00
David Storch
5e4187605f SERVER-21600 add integration test for killCursors command
(cherry picked from commit 9f8ec07dd7)
2015-12-09 11:06:06 -05:00
Kaloian Manassiev
b306a90872 SERVER-21366 Periodically yield when applying migration deletions 2015-12-08 13:15:06 -05:00
Kaloian Manassiev
c078dc37a9 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:15:06 -05:00
Misha Tyulenev
6e545bce06 SERVER-21158 pull cleanupOrphaned tests from QA-326 2015-11-30 19:44:23 -05:00
Jonathan Abrahams
0637179c78 SERVER-21618 Add more commands to readConcern passthrough tests 2015-11-30 14:09:39 -05:00
Jason Rassi
60218f71fe Revert "SERVER-21387 Temp. disable bench_test_crud_commands.js in parallel"
This reverts commit 78fa7169e1.
2015-11-24 14:29:09 -05:00
Jonathan Abrahams
d6351c58ab SERVER-21508 Run core suite using minimum batchSize on find 2015-11-20 00:15:39 -05:00
Kaloian Manassiev
078ca783b7 SERVER-21489 Fix broken passthrough suite 2015-11-19 11:56:42 -05:00
Jonathan Abrahams
46d22dc70b SERVER-20873 Add separate key file using 644 permission 2015-11-19 11:06:58 -05:00
Kaloian Manassiev
68dfaba3e8 SERVER-21489 enableSharding should return error if sharding is already enabled 2015-11-18 18:25:52 -05:00
Kamran Khan
15376bdb53 SERVER-20941 Update v8-specific code and comments in JS tests
The switch to SpiderMonkey invalidated some of the code and comments.
2015-11-13 12:32:15 -05:00
Mike Grundy
21fe3e04ac SERVER-21343 Fix the printing of JS objects in read concern passthrough test code 2015-11-12 10:33:54 -05:00
Jason Rassi
78fa7169e1 SERVER-21387 Temp. disable bench_test_crud_commands.js in parallel 2015-11-11 13:50:12 -05:00
Mike Grundy
0f1dd09400 SERVER-21337 Add awaitSecondaryNodes() in election_timing_test.js 2015-11-06 17:05:32 -05:00
Mathias Stearn
93832192cc SERVER-21046 Explain no longer supports majority readConcern
We decided that the semantics are too confusing for this to be useful. In
particular, it seemed odd that readConcern was an option when explaining
write commands even though it isn't an option when running write commands.
2015-11-04 13:53:03 -05:00
Mathias Stearn
525f514ab7 SERVER-21274 Clean up command interception for read_concern_passthrough
* Correctly parses the name of the command
* Emulates writeConcern for createIndexes which doesn't support it
* Correctly handles aggregations containing $out
* Pulls the names of commands out to declarative lists
2015-11-04 13:53:03 -05:00
Mike Grundy
f3dea2d9ba SERVER-20402 Add election failover js tests 2015-11-03 17:14:08 -05:00
Mike Grundy
c48ff0ba61 SERVER-20489 Remove sleep workaround from readmajority_jscore_passthrough.js
Previously reverted because the slow2.yml changes were left out.
2015-10-23 00:20:47 -04:00
Mike Grundy
5bf9355aed Revert "SERVER-20489 Remove sleep workaround from readmajority_jscore_passthrough.js"
This reverts commit 56901168ce.
2015-10-22 23:46:40 -04:00
Mike Grundy
56901168ce SERVER-20489 Remove sleep workaround from readmajority_jscore_passthrough.js 2015-10-22 22:26:24 -04:00
Jonathan Reams
e31b1742ae SERVER-8246 Exclude type6.js from parallel tests 2015-10-21 16:11:01 -04:00
matt dannenberg
d369d9552e SERVER-20722 fix tests that create configsvrs explicitly to pass journal as well 2015-10-09 09:49:38 -04:00
Max Hirschhorn
c2ae70a7eb SERVER-20839 Use bsonWoCompare() to compare optimes in the shell. 2015-10-09 14:34:26 -04:00
Robert Guo
675cb2f6f9 SERVER-20289 Add jstest suite to implicitly shard collections 2015-09-29 10:03:44 -04:00
Andy Schwerin
bf22ad124a SERVER-19696 Change js tests that use mongod nodes as config servers to pass --configsvr.
All nodes used as config servers should be started with --configsvr, and
this will be enforced in upcoming changes.
2015-09-23 12:54:23 -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
Brandon Zhang
7b88c26458 CAP-2451 Added distance check and 2dsphere tests to tests involving GeoNearRandomTest 2015-08-12 17:51:34 -04:00
Qingyang Chen
f9904bce32 SERVER-15020 Added missing explain stats for distinct command 2015-08-11 18:45:16 -04:00
Jonathan Reams
f2a82af42e BUILD-824 Change mockservice keytab 2015-08-03 17:39:35 -04:00
Jonathan Reams
e5c0c5db34 BUILD-824 Switch KDCs for GSSAPI tests 2015-08-03 11:42:33 -04:00
Adam Midvidy
2186037a81 SERVER-19113 rewrite ssl_crl.js and ssl_mixedmode.js to not depend on legacy DBClientConnection behavior 2015-06-30 16:50:38 -04:00
Geert Bosch
a66cc2118c Don't run index_bigkeys_nofail.js in parallel
It sets failpoints that will cause index_bigkeys.js to fail if it runs in parallel.
2015-06-26 13:37:05 -04:00
Max Hirschhorn
3bec3c4ec5 SERVER-18673 Copy TestData into ScopedThreads used by parallelTester.
TestData needs to be assigned globally to ensure that a mongo shell
started with startParallelShell() gets the TestData configuration.
2015-05-28 11:30:37 -04:00
Max Hirschhorn
424314f65e SERVER-1424 Rewrite smoke.py.
Split out the passthrough tests into separate suites. The MongoDB
deployment is started up by resmoke.py so that we can record the
success/failure of each individual test in MCI.

Added support for parallel execution of tests by dispatching to
multiple MongoDB deployments.

Added support for grouping different kinds of tests (e.g. C++ unit
tests, dbtests, and jstests) so that they can be run together. This
allows for customizability in specifying what tests to execute when
changes are made to a particular part of the code.
2015-05-08 14:49:42 -04:00
Jonathan Reams
c269033226 SERVER-18099 Refactor buildinfo/version reporting 2015-04-30 09:47:35 -04:00
Spencer T Brody
8b75280296 SERVER-17971 Make ShardingTest start single-server config servers as replica sets 2015-04-23 14:30:19 -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
6bc88dadc6 SERVER-17590 disallow --fastsync with replica sets 2015-03-17 11:06:11 -04:00
Scott Hernandez
430bafbd86 SERVER-16502: create CollectionInfoCache on Collection construction 2015-01-02 14:21:08 -05:00
Mark Benvenuto
4580fe1b3e SERVER-16061: remove "text" command 2014-12-30 11:52:20 -05:00
Jason Rassi
e1baf8419c SERVER-16408 Disable max_time_ms.js in parallel suite
max_time_ms.js is (by design) sensitive to the execution time of the
queries that it runs. As such, it should not be run in the parallel
suite.
2014-12-04 14:39:15 -05:00
Max Hirschhorn
365cca0c47 SERVER-16196 Add FSM-based concurrency tests to parallel suite.
The actual execution of the workloads is disabled for now.
2014-11-19 13:05:24 -05:00
Matt Kangas
c0a623cf2b SERVER-16209 jstest fixes 2014-11-18 23:02:54 -05:00
Benety Goh
72975ae905 SERVER-15557 added "Storage options" section in --help output.
migraged dotted names of mmapv1 options from "storage" to "storage.mmapv1"
                 storage.mmapv1.directoryPerDB
                 storage.mmapv1.journal.commitIntervalMs
                 storage.mmapv1.journal.debugFlags
                 storage.mmapv1.nsSize
                 storage.mmapv1.preallocDataFiles
                 storage.mmapv1.quota.enforced
                 storage.mmapv1.quota.maxFilesPerDB
                 storage.mmapv1.smallFiles
                 storage.mmapv1.syncPeriodSecs
             dotted names (without the ".mmapv1" component) of mmapv1 options before migration
                 will still be accepted but a warning will be raised at startup.
2014-11-03 15:07:06 -05:00
David Storch
d601b91b6b SERVER-14875 explain helpers for the shell 2014-10-13 19:59:21 -04:00
Max Hirschhorn
32336789f1 SERVER-15532 Skip geo_s2cursorlimitskip.js test in parallelTester.
Signed-off-by: Ian Whalen <ian@mongodb.com>
2014-10-07 15:35:52 -04:00