Commit Graph

6871 Commits

Author SHA1 Message Date
Misha Tyulenev
126cecc636 SERVER-21706 error when mapReduce outputs to config or admin db
(cherry picked from commit 3e1a3872c9)
2015-12-14 19:29:59 -05:00
Kamran Khan
ecbc309ccb SERVER-21885 Make capped_truncate.js work with resmoke.py --repeat
Previously, the test assumed that a collection would not exist prior
to calling 'create' on it.  The collection is now dropped beforehand
to ensure this condition is true.

(cherry picked from commit 30d55cccf8)
2015-12-14 15:16:53 -05:00
Scott Hernandez
b7e9e964c6 SERVER-21795: Do not reschedule more than one liveness timeout callback at a time
(cherry picked from commit 5ab583935e)
2015-12-14 12:36:56 -05:00
Spencer T Brody
335c1ce2d1 SERVER-21076 Add jstest for mapReduce and aggregation properly handling shard versioning
(cherry picked from commit 62f3810a0a)
2015-12-14 11:48:11 -05:00
Randolph Tan
2d853ea493 SERVER-21871 Do not run min_optime_recovery.js on ephemeralForTest storageEngine
(cherry picked from commit eb83308150)
2015-12-14 10:16:53 -05:00
Kaloian Manassiev
2cb657a2ae SERVER-21050 Fix broken replsetrestart1.js 2015-12-11 16:51:19 -05:00
David Storch
70c96afa6c SERVER-21852 fix more flakiness in kill_cursors.js
(cherry picked from commit 0ce05c7d8c)
2015-12-11 14:42:46 -05:00
Jonathan Abrahams
52a93ee85f SERVER-21768 Remove the 'numCollections' field from dbHash's response
(cherry picked from commit 9689f7e884)
2015-12-11 14:10:18 -05:00
David Storch
6670ca3ffa SERVER-21750 clean up getMore logging and profiling
--Omit ntoreturn and ntoskip from the getMore command log line.
--Add nreturned to the getMore command log line.
--Upconvert OP_GET_MORE profiler entries to match getMore cmd.

(cherry picked from commit bb7e1e539d)
2015-12-11 13:33:44 -05:00
Kaloian Manassiev
218539ae2c SERVER-21848 CSRS catalog manager should not allow batch writes greater than 1 2015-12-11 13:32:56 -05:00
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
Jonathan Abrahams
bb7e7fc215 SERVER-21164 Use throw instead of assert in rslib.js wait loop
(cherry picked from commit 8fef1b5e7a)
2015-12-11 11:42:26 -05:00
Charlie Swanson
8e5a66b3bf SERVER-21384 Enable all suites on ephemeral storage engines 2015-12-11 11:16:07 -05:00
Jonathan Abrahams
45d232d316 SERVER-21547 Don't apply iteration and thread multipliers to background FSM workloads
(cherry picked from commit c321e5de66)
2015-12-11 10:31:20 -05:00
Jonathan Abrahams
eca57c613d SERVER-21500 Include the name of the FSM workload in the WorkloadFailure description
(cherry picked from commit f8e7460652)
2015-12-11 09:22:49 -05:00
Misha Tyulenev
fbda4f85b6 SERVER-21136 add basic tests for enableSharding command
(cherry picked from commit 5c651b14fe)
2015-12-10 17:21:45 -05:00
Misha Tyulenev
e882ffceeb SERVER-21132 add basic tests for moveChunk command
(cherry picked from commit 1bcf9c7e19)
2015-12-10 17:19:32 -05:00
Misha Tyulenev
e61483f604 SERVER-21137 add basic tests for movePrimary command
(cherry picked from commit a6e09d623c)
2015-12-10 17:15:54 -05:00
Misha Tyulenev
2f4d9caae5 SERVER-21133 add basic tests for mergeChunks
(cherry picked from commit 9ba880ed3d)
2015-12-10 17:13:03 -05:00
Misha Tyulenev
fa30e3f036 SERVER-21134 add basic tests for shardCollection command
(cherry picked from commit ea91373329)
2015-12-10 17:07:22 -05:00
Randolph Tan
e25bc60bbf SERVER-21849 Fix timestamp compare in min_optime_recovery.js
(cherry picked from commit ea6764dbe4)
2015-12-10 16:10:19 -05:00
Charlie Swanson
0511dffda0 SERVER-21545 Correctly roll back updating collection options
(cherry picked from commit a4d29291cc)
2015-12-10 15:41:51 -05:00
David Storch
5c25a25571 SERVER-21852 fix test issue that can cause kill_cursors.js to fail under master/slave
(cherry picked from commit aa77f50235)
2015-12-10 15:11:48 -05:00
David Storch
5c7573d23a SERVER-21786 increase test coverage of the s/query directory
Fills in gaps in coverage discovered with code coverage analysis.

(cherry picked from commit 09126c5f0e)
2015-12-10 13:45:48 -05:00
Benety Goh
71f40809ee SERVER-21248 get_replication_info_helper.js should not assume all insert ops will happen in the same second
(cherry picked from commit a4cb164174)
2015-12-10 13:37:33 -05:00
Benety Goh
2c20582a12 SERVER-21248 additional failover test cases per test plan
(cherry picked from commit b0a6137a79)
2015-12-10 13:37:33 -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
Judah Schvimer
9c1b2e0b9c SERVER-21214 Dump config server data when the sharded concurrency suites fail 2015-12-10 13:22:40 -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
Randolph Tan
b7e9ffa4eb SERVER-20824 Test for sharding state recovery
(cherry picked from commit 2a39a1d5b1)
2015-12-10 10:21:47 -05:00
Jason Rassi
ee352bdaaf SERVER-21602 Use 'cursorTimeoutMillis' flag in cursor_timeout.js
Reduces this test's execution time from ~17 minutes to <30 seconds.

(cherry picked from commit 181cdbf26a)
2015-12-09 16:15:45 -05:00
Jonathan Reams
886453786c SERVER-21796 fix startup_log.js for new versioning scheme
(cherry picked from commit 8aaaa8fe56)
2015-12-09 12:04:34 -05:00
Randolph Tan
6a8dc1be90 SERVER-21135 Add more basic tests for sharded implicit database creation
(cherry picked from commit 0ec5ef6940)
2015-12-09 11:56:09 -05:00
Randolph Tan
0dd27a3602 SERVER-21139 Add more basic tests for drop collection
(cherry picked from commit e90ba97c1a)
2015-12-09 11:55:21 -05:00
Randolph Tan
037404ae30 SERVER-21138 Add more basic tests for dropDatabase
(cherry picked from commit 96b181211f)
2015-12-09 11:55:06 -05:00
Randolph Tan
f5ef0ed466 SERVER-21586 Update comments on failing tests
(cherry picked from commit 79bdc9e040)
2015-12-09 11:54:35 -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
David Storch
fcd3517820 SERVER-21637 add a test for 3.2 shell / 3.0 server find compatibility
(cherry picked from commit 711ee0acc5)
2015-12-09 11:05:50 -05:00
dalyd
f3c89e6192 SERVER-21426:Add writeConcern support to benchRun
(cherry picked from commit 00ab4b4758)
2015-12-08 13:50:02 -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
Jonathan Abrahams
610c753e1d SERVER-21714 Increase replSetTest.initiate() timeout for FSM tests
(cherry picked from commit fbb8433c21)
2015-12-08 11:35:39 -05:00
Eric Milkie
5ddccc2406 SERVER-21726 do not log no-op updates in all cases, not just for inplace-supported storage engines 2015-12-02 13:59:07 -05:00
David Storch
f5e927ea49 SERVER-21735 remove flaky assertions from objid6.js 2015-12-02 13:29:16 -05:00
matt dannenberg
7177f576c7 SERVER-21736 disable sync2.js in the replica_sets_legacy task 2015-12-02 08:15:59 -05:00
Jonathan Abrahams
dd08d650c2 SERVER-21115 Add dbHash checking to concurrency suite 2015-12-02 10:10:18 -05:00
Jonathan Abrahams
8fe6428bf9 SERVER-21721 Specify 5 minute timeout in backup_restore.js for replica set initiate 2015-12-02 09:03:54 -05:00
Jason Rassi
72d5149270 SERVER-21690 TextOrStage should fetch doc when RecordId first observed 2015-12-01 16:54:41 -05:00
matt dannenberg
ab4f798056 SERVER-21708 unify timeouts in auth/repl.js 2015-12-01 05:19:51 -05:00
Misha Tyulenev
6e545bce06 SERVER-21158 pull cleanupOrphaned tests from QA-326 2015-11-30 19:44:23 -05:00