Commit Graph

64 Commits

Author SHA1 Message Date
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