Commit Graph

57 Commits

Author SHA1 Message Date
Kaloian Manassiev
20cd3a392e 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:21:22 -05:00
Jason Rassi
181cdbf26a SERVER-21602 Use 'cursorTimeoutMillis' flag in cursor_timeout.js
Reduces this test's execution time from ~17 minutes to <30 seconds.
2015-12-08 16:53:12 -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
matt dannenberg
d2adb8eda7 SERVER-21509 fix rollback4.js 2015-11-17 11:00:44 -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
matt dannenberg
847c0f67ad SERVER-21129 wait for batch apply flush in a separate thread 2015-10-30 11:03:41 -04: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
Mathias Stearn
760a7c4776 SERVER-18400 remove unused passthrough tests
They are no longer executed and are unmaintained.
2015-09-30 13:54:00 -04:00
Mike Grundy
a3a968e867 SERVER-20199 Create readConcern majority passthrough suite 2015-09-16 12:35:06 -04:00
Qingyang Chen
9dcfc9cc63 SERVER-16398 Remove support for "cursorInfo" command 2015-08-05 14:59:43 -04:00
James Wahlin
13b7fba6b8 SERVER-19504 Remove indexStats command artifacts 2015-07-22 14:17:20 -04:00
Scott Hernandez
4d5b80ab7f SERVER-18982: do inserts as inserts in replication 2015-07-20 17:10:13 -04:00
Kaloian Manassiev
00c74d1386 SERVER-18084 Modularize chunk migration state machine
* Move the sharding migration destination (receiving side) management to a separate source file
* Move the destination thread management to be owned by the destination manager
* Move the sharding migration source (donor side) management to a separate source file
* Remove the medianKey command since it is noop and not used anywhere

No migration logic changes.
2015-07-14 18:16:03 -04:00
David Storch
ebd449e59e SERVER-17575 find and getMore commands respect BSONObj max user size limit 2015-05-28 16:17:23 -04:00
David Storch
920a48f1ed SERVER-17577 query planner now makes use of separate limit and batchSize fields in find command 2015-05-21 17:36:14 -04:00
Randolph Tan
280fbae904 SERVER-18044 Make sharding test explicitly set primary shards for databases 2015-05-15 10:11:31 -04:00
Randolph Tan
9f0ceef0b3 SERVER-18195 Read after optime (repl only) 2015-05-11 10:09:05 -04:00
Spencer T Brody
8392a9f55c SERVER-17932 Make sure sharding passthrough test actually runs through mongos 2015-04-27 13:27:02 -04:00
Spencer T Brody
04fd70038b SERVER-17932 Wrap passthrough tests in functions to take variables out of global scope 2015-04-13 10:39:56 -04:00
Kaloian Manassiev
8e6804d268 SERVER-17723 Sharding catalog cache
This change builds a sharding catalog cache on top of the CatalogManager
abstraction and use this in place of the direct network calls to the
config server.
2015-04-10 16:29:38 -04:00
Kaloian Manassiev
9d8f3d48cf SERVER-17964 sharding_jscore_passthrough.js test should only start with one shard 2015-04-10 10:02:27 -04:00
Jason Rassi
2a06bcb8e4 SERVER-17734 Remove jstests/core/block_check_supported.js 2015-03-25 10:48:04 -04:00
Eric Milkie
a5030efecd SERVER-17363 increase heartbeat timeout for rollback4 2015-02-25 13:17:21 -05:00
Matt Kangas
8d30131634 SERVER-17233 32bit.js make jstest reproducible
Also check for write error each time through loop
2015-02-09 10:59:25 -05:00
Matt Kangas
56fa6f8021 SERVER-17233 32bit.js fix whitespace 2015-02-09 10:57:48 -05:00
Matt Kangas
da246198e4 SERVER-17233 dos2unix 32bit.js 2015-02-09 10:57:45 -05:00
Benety Goh
14424674ca SERVER-16782 fixed db.collection shell helper test to work with sharding passthrough test. also removed db.collection.clean() shell helper 2015-01-15 11:01:58 -05:00
Scott Hernandez
892de37ddd SERVER-16528: disable index_bigkeys_nofail for passthrough 2014-12-12 10:31:06 -05:00
matt dannenberg
42ee03e14b SERVER-16509 remove slow2/replsets_prefetch_stress.js 2014-12-11 12:50:44 -05:00
Geert Bosch
23fb35b7a5 SERVER-15539: Properly save/restore state when yielding in M/R
This fixes a regression introduced in commit 29a700ad.
2014-12-09 18:08:35 -05:00
Eric Milkie
5598c216ca SERVER-16391 archor primary in replset tests, or make agnostic to primary node 2014-12-03 12:58:24 -05:00
Randolph Tan
198fa91703 SERVER-16397 Throttle migration rate in mr_during_migrate.js 2014-12-03 10:39:41 -05:00
Dan Pasette
aa435e0f13 SERVER-16171 skip repair_cursor1.js in sharding passthrough 2014-11-18 01:55:09 -05:00
Jason Rassi
4da5ebab3d SERVER-15983 replsets_killop.js: allow 5m for member to replicate ops 2014-11-06 00:17:47 -05:00
Mathias Stearn
100be46dd6 SERVER-15948 dont run query_oplogreplay.js in sharding passthrough 2014-11-04 17:05:46 -05:00
Andy Schwerin
9b06f0011e SERVER-15836 Change how long we wait for the master in rollback4.js.
In the legacy implementation of replication, the newly elected node waits for
queued oplog entries to drain before transitioning to primary.  In the new
implementation, it transitions immediately, but does not report "ismaster: true"
until the drain completes.
2014-10-28 15:51:21 -04:00
Eliot Horowitz
cfa687f1d9 SERVER-13635: make some test storage engine agnostic 2014-10-24 20:28:09 -04:00
Eric Milkie
53698194b2 SERVER-15535 fix deadlock in drain mode 2014-10-15 17:37:23 -04:00
Mathias Stearn
314c8b8f6b SERVER-15033 Implement SimpleRecordStoreV1::truncate() 2014-10-08 14:33:57 -04:00
Kaloian Manassiev
c4f1421ec0 SERVER-11735 Disable dbcase2.js from running under sharding 2014-10-07 12:01:02 -04:00
Kaloian Manassiev
4868624655 SERVER-15440 Remove the closeAllDatabases command and tests 2014-10-03 08:30:19 -04:00
David Storch
2481ccd2e7 SERVER-14102 implement the explain command on mongos 2014-10-01 15:29:23 -04:00
David Storch
6572c75e85 SERVER-14100 explain for delete 2014-09-19 10:46:17 -04:00
David Storch
b05a745cd7 SERVER-15230 explain find via the find command 2014-09-18 07:42:31 -04:00
David Storch
d71566a55e SERVER-14098 add CountStage 2014-09-10 15:21:13 -04:00
matt dannenberg
492d97468b SERVER-14922 increase the timeout in rollback4.js to remove one of its failure modes 2014-08-15 11:53:54 -04:00
matt dannenberg
1690ee431e remove rollback4 debugging to decrease failure frequency 2014-06-10 11:51:57 -04:00
daveh86
0e224f9a0f SERVER-10177 Remove all Js instances of "throw 'string';" with "throw Error();"
Includes both the initial patch to remove all throws and patches for all failing tests

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-05-22 09:17:09 -04:00