Commit Graph

41 Commits

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