Commit Graph

174 Commits

Author SHA1 Message Date
Ben Caimano 149c8f62af SERVER-42595 Refactor failpoint in curop to fix jstest 2019-09-17 13:14:26 +00:00
Dianna Hohensee c792cb14e0 SERVER-30357 Allow users to run the validate cmd with {background:true} 2019-09-05 21:48:20 +00:00
Evgeni Dobranov 31960610ac SERVER-42211 Remove RepairCursorCmd and RecordStore::getCursorForRepair() 2019-08-30 17:48:03 +00:00
Nick Zolnierz cab4fe1d56 SERVER-42903 Remove sharding test for M/R output conversion 2019-08-19 16:45:16 -04:00
Xinhao Zhang b4d36bda9b SERVER-42636 Add map reduce in aggregation formatter 2019-08-16 14:09:29 +00:00
Mathew Robinson ef9f9b461e
SERVER-41177 Remove Javascript ScopedThread class 2019-08-12 17:28:18 -04:00
Gregory Wlodarek 318350e67b SERVER-41746 Test varying lengths of collection names 2019-08-09 14:22:34 -04:00
Gregory Wlodarek 9eb69f2afc Revert "SERVER-41746 Test varying lengths of collection names"
This reverts commit b45314287f.
2019-08-09 07:58:51 -04:00
Gregory Wlodarek b45314287f SERVER-41746 Test varying lengths of collection names 2019-08-08 21:38:00 -04:00
Rahul Sundararaman 7d28044d0b SERVER-42591 Remove currentop_waiting_for_latch.js from parallel_compatibility 2019-08-01 16:53:25 -04:00
Geert Bosch 4309c3c77f SERVER-41117 Blacklist autocomplete.js from parallel testing 2019-05-13 21:21:23 -04:00
Bernard Gorman 39bb8f244b SERVER-40408 Add pipeline versions of update helpers in the shell 2019-05-03 21:09:14 +01:00
James Wahlin 6b47868e5a SERVER-40381 Add the ability to specify a pipeline to an update command 2019-04-11 14:59:55 -04:00
Natalie Tsvetkova 7b0362b91d SERVER-38054: failCommand fail point causes errors when run concurrently with other tests 2018-11-13 16:21:20 -05:00
natalie.tsvetkova b2f8859fbb SERVER-35518: Support the failCommand fail point in mongoS 2018-11-02 16:02:05 -04:00
Bernard Gorman 1b51df8420 SERVER-31698 Move wildcard_index integration tests to /core/ 2018-10-10 16:03:27 +01:00
Blake Oler befd7a7b7c SERVER-36721 Prevent list_all_local_sessions.js from being run with other
tests that rely on the LogicalSessionCache in the parallel suite
2018-09-25 12:02:50 -04:00
Blake Oler 184b099350 SERVER-36721 Prevent tests that use the logical session cache from running in parallel 2018-09-21 09:30:43 -04:00
Justin Seyster 2428d8b901 SERVER-36859 Skip view_with_invalid_dbname.js in parallel suite.
An invalid view in the system.views collection causes any other writes
to fail. That will cause most tests to fail if they run in parallel
with view_with_invalid_dbname.js.
2018-09-07 17:12:58 -04:00
Jonathan Abrahams fdf3ac3da5 SERVER-35160 ScopedThreads should automatically inherit TestData from their parent thread 2018-09-05 15:47:58 -04:00
Haley Connelly 075d7fe467 SERVER-23332 Expose query plan cache key in system.profile entry and query log lines 2018-07-31 18:34:33 -04:00
Sean Tao acdbc57731 SERVER-33998 Remove the parallelCollectionScan command 2018-07-12 17:54:34 -04:00
Sara Golemon 7d255086dd
SERVER-35847 Remove eval command and remove/update related tests/helpers 2018-06-29 23:02:02 -04:00
Kyle Suarez 7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
Sulabh Mahajan e361973f0e SERVER-33605 Mobile SE:Disable capped collections and related testing 2018-06-08 14:34:55 +10:00
Kyle Suarez 190fc58164 SERVER-28524 remove group command
Users should use the aggregation $group stage instead.
2018-05-30 09:45:28 -04:00
David Bradford 7e4f6276ec SERVER-34614: Create a new db connection for each test when running in parallel 2018-05-09 13:54:41 -04:00
Eric Milkie 222864b678 SERVER-8237 disable autoIndexId:false for replicated collections 2018-04-17 13:09:07 -04:00
Nick Zolnierz 6ace5353e2 SERVER-34097: Prevent compact_keep_indexes.js from running in parallel with awaitdata_getmore_cmd.js 2018-03-23 16:27:54 -04:00
William Schultz 3ef314d052 SERVER-33815 Create transactions test suite and test tag
Create a directory for core transactions tests that can
run against various topologies. Also create a 'uses_transactions'
test tag to blacklist transactions tests from unsupported variants
and platforms.
2018-03-20 13:27:28 -04:00
Charlie Swanson 34f8ef126f SERVER-33502 Do not use getLastError in parallel suite
Re-writes two tests to avoid the command, and adds the rest to the
blacklist.
2018-03-02 14:09:39 -05:00
Charlie Swanson 331d67a0d8 SERVER-33080 Blacklist tests expecting lines in getLog from parallel suite 2018-02-02 17:31:49 -05:00
Kyle Suarez 0322da76ec SERVER-32594 add mechanism to close and reopen the catalog 2018-01-31 12:28:55 -05:00
Charlie Swanson 4140c9b649 SERVER-29299 Add currentOp as parallel op during basicPlus.js 2017-07-18 16:17:30 -04:00
Charlie Swanson 83bc860147 SERVER-28411 Avoid adjusting log rate while using getLog command 2017-04-04 12:09:13 -04:00
Charlie Swanson 584ca76de9 SERVER-22541 Manage aggregation cursors on global cursor manager.
Moves registration of aggregation cursors to the global cursor manager.
This simplifies the logic for acquiring locks and resolving view
namespaces within the getMore and killCursors commands.
2017-03-15 11:03:44 -04:00
Jonathan Abrahams 1c33621a87 SERVER-17997 parallelTester.js should print names of failing tests 2017-01-29 01:03:43 -05:00
Evan Broder 94b37aac06 SERVER-4786 Allow specifying sample rate of slow queries
Adds a sampleRate parameter to the profile command, a value
on the interval [0, 1] which indicates which fraction of
operations should be randomly sampled for profiling and
logging. This allows users to reduce their slowms threshold
or increase their profiling level with less performance
impact on the system.

Closes #1099

Signed-off-by: David Storch <david.storch@10gen.com>
2017-01-26 18:35:29 -05:00
James Wahlin 2ead884968 SERVER-27465 rewrite killop.js using setYieldAllLocksHang failpoint 2017-01-17 08:40:53 -05:00
Jonathan Abrahams c8d0e93527 SERVER-27421 Parallel test suites should pick up tests in subdirectories of jstests/core 2017-01-06 12:18:21 -05:00
Kyle Suarez 703678d473 SERVER-25286 rewrite drop2.js to not depend on count scan yield behavior 2016-12-15 16:17:42 -05:00
Charlie Swanson 0bca5d9fc7 SERVER-27042 Stabilize currentop.js and add unit tests for lock state reporting 2016-12-07 12:07:20 -05:00
Kyle Suarez ca9cb5e288 SERVER-23797 remove fsync2.js in favor of fsync.js 2016-05-19 10:48:25 -04:00
James Wahlin 9f64a4b3dc SERVER-23256 Make profiler tests run serially with fsyncLock tests. 2016-04-19 17:04:35 -04:00
Shane Harvey 18a78da9e1 SERVER-23472 Enable JavaScript protection by default
Add mongo shell parameter --disableJavaScriptProtection.
2016-04-14 15:35:11 -04:00
James Wahlin 02b84f058f SERVER-23256 Refactor and expand system.profile metrics coverage tests 2016-04-11 09:16:04 -04:00
Mike Grundy 1be713cebb SERVER-23067 Final round of JS linting and formatting 2016-03-18 17:10:31 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Kamran Khan 8aeda03d35 SERVER-22882 Remove the argumentsToArray function from the shell
The function is no longer necessary now that Array.from exists.
2016-02-29 18:24:00 -05:00
Robert Guo 8fce2322ec SERVER-22234 The Validate Command Should Work with failIndexKeyTooLong 2016-02-09 18:51:46 -05:00
Robert Guo db7a4ebec8 Revert "SERVER-22234 The Validate Command Should Work with failIndexKeyTooLong"
This reverts commit e0c067b5f7.
2016-02-09 15:07:20 -05:00
Robert Guo e0c067b5f7 SERVER-22234 The Validate Command Should Work with failIndexKeyTooLong 2016-02-09 13:50:50 -05:00
Robert Guo 4c9a823b6e Revert "SERVER-22234 add tests"
This reverts commit aff0ad5caf.
2016-02-09 13:49:48 -05:00
Robert Guo aff0ad5caf add tests 2016-02-09 13:47:28 -05:00
Mike Grundy 4fff5009ab SERVER-22341 fix jslint errors in jstests/libs with eslint --fix 2016-02-05 15:00:50 -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
David Storch 9f8ec07dd7 SERVER-21600 add integration test for killCursors command 2015-12-08 12:37:09 -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
Kaloian Manassiev 078ca783b7 SERVER-21489 Fix broken passthrough suite 2015-11-19 11:56:42 -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
Jason Rassi 78fa7169e1 SERVER-21387 Temp. disable bench_test_crud_commands.js in parallel 2015-11-11 13:50:12 -05:00
Jonathan Reams e31b1742ae SERVER-8246 Exclude type6.js from parallel tests 2015-10-21 16:11:01 -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
Scott Hernandez 430bafbd86 SERVER-16502: create CollectionInfoCache on Collection construction 2015-01-02 14:21:08 -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
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
Max Hirschhorn 47e6a29b3b SERVER-15532 Fix assumptions made by geo_s2cursorlimitskip.js test.
For storage engines that are transactional, the documents that are
inserted after the creation of a cursor need not be visible to the
cursor. This means that the set of points inserted after the query
is issued may not be found, depending on the storage engine.

Note that this test can no longer be run in parallel because we
assert a specific number of query and getmore operations have
occurred.

Signed-off-by: Dan Pasette <dan@mongodb.com>
2014-10-06 22:07:39 -04:00
Jason Rassi 01c0cd6641 SERVER-14284 Tests using profiler can't run in parallel w/ each other 2014-07-14 15:38:26 -04:00
David Storch 7e90a89afa SERVER-13764 update system retrieves nscanned / nscannedObjects from plan executor 2014-07-10 08:19:07 -04:00
Randolph Tan f2386b7f29 fix 2014-05-15 14:04:11 -04:00
matt dannenberg 9ca0f44235 SERVER-13512 add mr_drop.js to the skipTests in parallelTester.js 2014-04-14 05:38:42 -04:00
Scott Hernandez 835a7cc8ea SERVER-13297: convert parallel suite to use jsCore tests 2014-03-25 13:46:52 -04:00