Compare commits
1 Commits
3.6.17-lin
...
v3.6.9-dba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05ec08fa62 |
@@ -2,6 +2,9 @@
|
||||
* Tests that an aggregation cursor is killed when it is timed out by the ClientCursorMonitor.
|
||||
*
|
||||
* This test was designed to reproduce SERVER-25585.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
* changes as it unwinds the results.
|
||||
*
|
||||
* This test was designed to reproduce SERVER-22537.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
* client for the aggregation pipeline is killed.
|
||||
*
|
||||
* This test was designed to reproduce SERVER-24386.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Cannot implicitly shard accessed collections because unsupported use of sharded collection
|
||||
// for output collection of aggregation pipeline.
|
||||
// @tags: [assumes_unsharded_collection]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_unsharded_collection,
|
||||
// ]
|
||||
|
||||
// server-3253 Unsharded support for $out
|
||||
load('jstests/aggregation/extras/utils.js');
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// SERVER-6179: support for two $groups in sharded agg
|
||||
// @tags: [
|
||||
// requires_spawning_own_processes,
|
||||
// ]
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// SERVER-7781 $geoNear pipeline stage
|
||||
// @tags: [
|
||||
// requires_spawning_own_processes,
|
||||
// ]
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -10,7 +10,10 @@
|
||||
* and will therefore invalidate the results of the test cases below, we tag this test to prevent it
|
||||
* running under the 'aggregation_facet_unwind' passthrough.
|
||||
*
|
||||
* @tags: [do_not_wrap_aggregations_in_facets]
|
||||
* @tags: [
|
||||
* do_not_wrap_aggregations_in_facets,
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/**
|
||||
* Tests aggregate command against mongos with slaveOk. For more tests on read preference,
|
||||
* please refer to jstests/sharding/read_pref_cmd.js.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
load('jstests/replsets/rslib.js');
|
||||
|
||||
@@ -20,7 +20,10 @@
|
||||
* and will therefore invalidate the results of the test cases below, we tag this test to prevent it
|
||||
* running under the 'aggregation_facet_unwind' passthrough.
|
||||
*
|
||||
* @tags: [do_not_wrap_aggregations_in_facets]
|
||||
* @tags: [
|
||||
* do_not_wrap_aggregations_in_facets,
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
load("jstests/libs/profiler.js"); // For profilerHas*OrThrow helper functions.
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
* $addFields can be used to add fixed and computed fields to documents while preserving the
|
||||
* original document. Verify that using $addFields and adding computed fields in a $project yield
|
||||
* the same result.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
* $addFields can be used to add fixed and computed fields to documents while preserving the
|
||||
* original document. Verify that using $addFields and adding computed fields in a $project yield
|
||||
* the same result. Use the sample case of computing weather metadata.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/**
|
||||
* Verifies that the $collStats aggregation stage includes the shard and hostname for each output
|
||||
* document when run via mongoS, and that the former is absent when run on a non-shard mongoD.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
/**
|
||||
* Tests some practical use cases of the $facet stage.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// In SERVER-23725, $graphLookup was introduced. In this file, we test that the expression behaves
|
||||
// @tags: [
|
||||
// requires_spawning_own_processes,
|
||||
// ]
|
||||
// correctly on a sharded collection.
|
||||
load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Basic $lookup regression tests.
|
||||
// @tags: [
|
||||
// requires_spawning_own_processes,
|
||||
// ]
|
||||
|
||||
load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
/**
|
||||
* $replaceRoot can be used to extract parts of a document; here we test a simple address case.
|
||||
* @tags: [
|
||||
* requires_spawning_own_processes,
|
||||
* ]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// This test just make sure that aggregation is possible on a secondary node.
|
||||
// @tags: [
|
||||
// requires_spawning_own_processes,
|
||||
// ]
|
||||
var replTest = new ReplSetTest({name: 'aggTestSlave', nodes: 2});
|
||||
var nodes = replTest.startSet();
|
||||
replTest.initiate();
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// @tags: [
|
||||
// requires_spawning_own_processes,
|
||||
// ]
|
||||
|
||||
load('jstests/aggregation/extras/utils.js');
|
||||
load('jstests/libs/analyze_plan.js'); // For planHasStage.
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
// Tests that the namespace being watched cannot be a system namespace.
|
||||
// Mark as assumes_read_preference_unchanged since reading from the non-replicated "system.profile"
|
||||
// collection results in a failure in the secondary reads suite.
|
||||
// @tags: [assumes_read_preference_unchanged]
|
||||
// @tags: [
|
||||
// assumes_read_preference_unchanged,
|
||||
// assumes_superuser_permissions,
|
||||
// ]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
// Tests the 'fullDocument' argument to the $changeStream stage.
|
||||
//
|
||||
// The $changeStream stage is not allowed within a $facet stage.
|
||||
// @tags: [do_not_wrap_aggregations_in_facets]
|
||||
// @tags: [
|
||||
// do_not_wrap_aggregations_in_facets,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Tests the behavior of using fullDocument: "updateLookup" with a resumeToken, possibly from far
|
||||
// enough in the past that the document doesn't exist yet.
|
||||
// @tags: [uses_resume_after]
|
||||
// @tags: [
|
||||
// uses_multiple_connections,
|
||||
// uses_resume_after,
|
||||
// ]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Test that an insert to an unrelated collection will not cause a $changeStream getMore to
|
||||
// @tags: [
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
// return early.
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_commands, requires_fastcount]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_non_retryable_commands]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
// SERVER-23326: Make applyOps atomic for CRUD operations
|
||||
(function() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// creates_and_authenticates_user,
|
||||
// requires_auth,
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
// @tags: [
|
||||
// requires_non_retryable_commands,
|
||||
// requires_fastcount,
|
||||
// requires_auth,
|
||||
// assumes_write_concern_unchanged
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// requires_auth,
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
a = db.getSisterDB("copydb2-test-a");
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// ]
|
||||
|
||||
// Tests that using setParameter to update the parameter 'automationServiceDescriptor' causes a
|
||||
// field with that name to be echoed back in isMaster. See SERVER-18399 for more details.
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// # routed to the primary.
|
||||
// assumes_read_preference_unchanged,
|
||||
// requires_getmore,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Cannot implicitly shard accessed collections because of extra shard key index in sharded
|
||||
// collection.
|
||||
// @tags: [assumes_no_implicit_index_creation]
|
||||
// @tags: [
|
||||
// assumes_no_implicit_index_creation,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
t = db.bench_test1;
|
||||
t.drop();
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
|
||||
/**
|
||||
* @tags: [
|
||||
* uses_multiple_connections,
|
||||
* ]
|
||||
*/
|
||||
t = db.bench_test2;
|
||||
t.drop();
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @tags: [
|
||||
* uses_multiple_connections,
|
||||
* ]
|
||||
*/
|
||||
t = db.bench_test3;
|
||||
t.drop();
|
||||
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
// # documents using the captrunc command. The former operations may be routed to a secondary in
|
||||
// # the replica set, whereas the latter must be routed to the primary.
|
||||
// assumes_read_preference_unchanged,
|
||||
// requires_non_retryable_commands,
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_commands,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
(function() {
|
||||
var coll = db.capped6;
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_commands, requires_fastcount]
|
||||
// @tags: [
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_commands,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
t = db.capped_empty;
|
||||
t.drop();
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
* Tests various update scenarios on capped collections:
|
||||
* -- SERVER-20529: Ensure capped document sizes do not change
|
||||
* -- SERVER-11983: Don't create _id field on capped updates
|
||||
* @tags: [
|
||||
* uses_testing_only_commands,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_commands, requires_collstats]
|
||||
// @tags: [
|
||||
// requires_collstats,
|
||||
// requires_non_retryable_commands,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// SERVER-15033 truncate on a regular collection
|
||||
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
// @tags: [
|
||||
// assumes_unsharded_collection,
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fastcount,
|
||||
// requires_getmore,
|
||||
// requires_non_retryable_commands,
|
||||
// requires_fastcount,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// This file tests that commands namespace parsing rejects embedded null bytes.
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// SERVER-16676 Make sure compact doesn't leave the collection with bad indexes
|
||||
// @tags: [
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
// SERVER-16967 Make sure compact doesn't crash while collections are being dropped
|
||||
// in a different database.
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// creates_and_authenticates_user,
|
||||
// requires_auth,
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Test validation of connection strings passed to the JavaScript "connect()" function.
|
||||
// @tags: [
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
// Related to SERVER-8030.
|
||||
|
||||
port = "27017";
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// # routed to the primary.
|
||||
// assumes_read_preference_unchanged,
|
||||
// does_not_support_stepdowns,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
t = db.count10;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// # routed to the primary.
|
||||
// assumes_read_preference_unchanged,
|
||||
// does_not_support_stepdowns,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
var t = db.jstests_count_plan_summary;
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @tags: [
|
||||
* assumes_superuser_permissions,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
/**
|
||||
* Tests that long-running operations show up in currentOp and report the locks they are holding.
|
||||
* @tags: [
|
||||
* assumes_superuser_permissions,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
// @tags: [requires_getmore, requires_non_retryable_writes, requires_fastcount]
|
||||
// @tags: [
|
||||
// requires_fastcount,
|
||||
// requires_getmore,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
t = db.cursora;
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
|
||||
/**
|
||||
* @tags: [
|
||||
* assumes_superuser_permissions,
|
||||
* ]
|
||||
*/
|
||||
mydb = db.getSisterDB("config");
|
||||
|
||||
t = mydb.foo;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Yield and delete test case for query optimizer cursor. SERVER-4401
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// test dropping a db with simultaneous commits
|
||||
//
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// does_not_support_stepdowns,
|
||||
// ]
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
// Cannot implicitly shard accessed collections because of following errmsg: A single
|
||||
// update/delete on a sharded collection must contain an exact match on _id or contain the shard
|
||||
// key.
|
||||
// @tags: [assumes_unsharded_collection]
|
||||
// @tags: [
|
||||
// assumes_unsharded_collection,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Ensures that find and modify will not apply an update to a document which, due to a concurrent
|
||||
// modification, no longer matches the query predicate.
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// @tags: [
|
||||
// assumes_write_concern_unchanged,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
var coll = db.getCollection("jstests_geo_update_btree");
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
// @tags: [does_not_support_stepdowns, requires_getmore, requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// requires_getmore,
|
||||
// requires_non_retryable_writes,
|
||||
// ]
|
||||
|
||||
// Tests whether the geospatial search is stable under btree updates
|
||||
//
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
// @tags: [does_not_support_stepdowns, requires_non_retryable_writes, requires_fastcount]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_writes,
|
||||
// ]
|
||||
|
||||
// SERVER-16497: Check that failIndexKeyTooLong setting works
|
||||
(function() {
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// ]
|
||||
|
||||
// Tests that index validation succeeds for long keys when failIndexKeyTooLong is set to false.
|
||||
// See: SERVER-22234
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Ensure an index cannot be created on system.indexes
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// ]
|
||||
(function() {
|
||||
var t = db.getSiblingDB("indexes_on_indexes");
|
||||
t.dropDatabase();
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
// Cannot implicitly shard accessed collections because of collection existing when none
|
||||
// expected.
|
||||
// @tags: [assumes_no_implicit_collection_creation_after_drop, requires_collstats]
|
||||
// @tags: [
|
||||
// assumes_no_implicit_collection_creation_after_drop,
|
||||
// requires_collstats,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Create a new connection object so it won't affect the global connection when we modify
|
||||
// it's settings.
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_getmore]
|
||||
// @tags: [
|
||||
// requires_getmore,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test the killCursors command.
|
||||
(function() {
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
* to complete. Interrupting a collection drop could leave the database in an inconsistent state.
|
||||
* This test confirms that killOp won't interrupt a collection drop, and that the drop occurs
|
||||
* successfully.
|
||||
* @tags: [
|
||||
* assumes_superuser_permissions,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
//
|
||||
// $listLocalCursors relies on in-memory state, which may not survive failovers.
|
||||
// Uses features that require featureCompatibilityVersion 3.6.
|
||||
// @tags: [does_not_support_stepdowns, requires_fcv36]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fcv36,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
// Sessions are asynchronously flushed to disk, so a stepdown immediately after calling
|
||||
// startSession may cause this test to fail to find the returned sessionId.
|
||||
// Uses features that require featureCompatibilityVersion 3.6.
|
||||
// @tags: [does_not_support_stepdowns, requires_fcv36]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fcv36,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// SERVER-25942 Test that views are not validated in the case that only collections are queried.
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// ]
|
||||
(function() {
|
||||
'use strict';
|
||||
let mydb = db.getSiblingDB('list_collections_no_views');
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
// Sessions are asynchronously flushed to disk, so a stepdown immediately after calling
|
||||
// startSession may cause this test to fail to find the returned sessionId.
|
||||
// Uses features that require featureCompatibilityVersion 3.6.
|
||||
// @tags: [does_not_support_stepdowns, requires_fcv36]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fcv36,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_writes, requires_fastcount]
|
||||
// @tags: [
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Test db.loadServerScripts()
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// ]
|
||||
|
||||
/**
|
||||
* SERVER-7140 test. Checks that process info is re-logged on log rotation
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
// # failpoint. The former operations may be routed to a secondary in the replica set, whereas the
|
||||
// # latter must be routed to the primary.
|
||||
// assumes_read_preference_unchanged,
|
||||
// requires_fastcount,
|
||||
// requires_getmore,
|
||||
// requires_fastcount
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
var t = db.max_time_ms;
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
// Cannot implicitly shard accessed collections because the "command" field in the currentOp()
|
||||
// output is reported as {"mapreduce.shardedfinish": { mapreduce: "jstests_mr_killop", ... }, ... }
|
||||
// when the "finalize" option to the "mapReduce" command is used on a sharded collection.
|
||||
// @tags: [assumes_unsharded_collection, does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// assumes_unsharded_collection,
|
||||
// does_not_support_stepdowns,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Test killop applied to m/r operations and child ops of m/r operations.
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
// # parameter. The former operations may be routed to a secondary in the replica set, whereas the
|
||||
// # latter must be routed to the primary.
|
||||
// assumes_read_preference_unchanged,
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// ]
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Test that opcounters get incremented properly.
|
||||
// @tags: [
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
// Legacy write mode test also available at jstests/gle.
|
||||
|
||||
var mongo = new Mongo(db.getMongo().host);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// creates_and_authenticates_user,
|
||||
// does_not_support_stepdowns,
|
||||
// requires_collstats,
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [creates_and_authenticates_user]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// creates_and_authenticates_user,
|
||||
// ]
|
||||
// special db so that it can be run in parallel tests
|
||||
var stddb = db;
|
||||
var db = db.getSisterDB("profile3");
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
// starved frequently.
|
||||
// Note: this tag can be safely removed once PM-697 is complete and replaces distlocks with a
|
||||
// LockManager that has a fairness policy, which distlocks lack.
|
||||
// @tags: [assumes_against_mongod_not_mongos, requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// assumes_against_mongod_not_mongos,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_getmore, requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// requires_getmore,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// SERVER-2009 Count odd numbered entries while updating and deleting even numbered entries.
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_writes, requires_fastcount]
|
||||
// @tags: [
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Test removal of Records that have been reused since the remove operation began. SERVER-5198
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Sanity test for removing documents with adjacent index keys. SERVER-2008
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_non_retryable_commands]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
// SERVER-12591: prevent renaming to arbitrary system collections.
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
// @tags: [
|
||||
// requires_non_retryable_commands,
|
||||
// requires_auth,
|
||||
// assumes_write_concern_unchanged,
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// requires_auth,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
// This test is a basic sanity check of the shell helpers for manipulating role objects
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// ]
|
||||
|
||||
// Tests for accessing logLevel server parameter using getParameter/setParameter commands
|
||||
// and shell helpers.
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Test mongo shell connect strings.
|
||||
// @tags: [
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_fastcount]
|
||||
// @tags: [
|
||||
// requires_fastcount,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
function f() {
|
||||
throw Error("intentional_throw_to_test_assert_throws");
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
// Cannot implicitly shard accessed collections because the "splitVector" command cannot be run
|
||||
// on a sharded collection
|
||||
//
|
||||
// @tags: [assumes_unsharded_collection, requires_fastcount, requires_collstats]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_unsharded_collection,
|
||||
// requires_collstats,
|
||||
// requires_fastcount,
|
||||
// ]
|
||||
|
||||
// -------------------------
|
||||
// SPLITVECTOR TEST UTILS
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
t = db.stages_and_hashed;
|
||||
t.drop();
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
t = db.stages_and_sorted;
|
||||
t.drop();
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test basic query stage collection scan functionality.
|
||||
t = db.stages_collection_scan;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// assumes_write_concern_unchanged,
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fastcount,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test basic delete stage functionality.
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test basic fetch functionality.
|
||||
t = db.stages_fetch;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test basic query stage index scan functionality.
|
||||
t = db.stages_ixscan;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test limit and skip
|
||||
t = db.stages_limit_skip;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test query stage merge sorting.
|
||||
t = db.stages_mergesort;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test basic OR functionality
|
||||
t = db.stages_or;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [does_not_support_stepdowns]
|
||||
// @tags: [
|
||||
// does_not_support_stepdowns,
|
||||
// uses_testing_only_commands,
|
||||
// ]
|
||||
|
||||
// Test very basic functionality of text stage
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_commands, requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// requires_non_retryable_commands,
|
||||
// requires_non_retryable_writes,
|
||||
// uses_multiple_connections,
|
||||
// ]
|
||||
|
||||
// Test unsafe management of nsdt on update command yield SERVER-3208
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// creates_and_authenticates_user,
|
||||
// requires_auth,
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
// @tags: [
|
||||
// requires_non_retryable_commands,
|
||||
// requires_auth,
|
||||
// assumes_write_concern_unchanged
|
||||
// ]
|
||||
// assumes_superuser_permissions,
|
||||
// assumes_write_concern_unchanged,
|
||||
// requires_auth,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
// Ensure that inserts and updates of the system.users collection validate the schema of inserted
|
||||
// documents.
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// @tags: [requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// requires_non_retryable_writes,
|
||||
// ]
|
||||
|
||||
// Test the creation of view with a duplicate name to a collection.
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_commands, requires_non_retryable_writes]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// requires_non_retryable_commands,
|
||||
// requires_non_retryable_writes,
|
||||
// ]
|
||||
|
||||
/**
|
||||
* Tests that invalid view definitions in system.views do not impact valid commands on existing
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
// Uses features that require featureCompatibilityVersion 3.6.
|
||||
// @tags: [
|
||||
// requires_fcv36,
|
||||
// assumes_superuser_permissions,
|
||||
// does_not_support_stepdowns,
|
||||
// requires_fastcount,
|
||||
// requires_fcv36,
|
||||
// requires_getmore,
|
||||
// requires_non_retryable_commands,
|
||||
// requires_non_retryable_writes,
|
||||
// requires_fastcount,
|
||||
// ]
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
/**
|
||||
* Tests the behavior of views when the backing view or collection is changed.
|
||||
* @tags: [requires_find_command, requires_non_retryable_commands]
|
||||
* @tags: [
|
||||
* assumes_superuser_permissions,
|
||||
* requires_find_command,
|
||||
* requires_non_retryable_commands,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Test the creation of views with various options.
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
/**
|
||||
* Tests the behavior of views when its backing collection is dropped, as well as the behavior of
|
||||
* system.views when views are dropped.
|
||||
* @tags: [requires_find_command]
|
||||
* @tags: [
|
||||
* assumes_superuser_permissions,
|
||||
* requires_find_command,
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
// @tags: [requires_non_retryable_commands, requires_fastcount]
|
||||
// @tags: [
|
||||
// assumes_superuser_permissions,
|
||||
// requires_fastcount,
|
||||
// requires_non_retryable_commands,
|
||||
// ]
|
||||
|
||||
(function() {
|
||||
// SERVER-30406 Test that renaming system.views correctly invalidates the view catalog
|
||||
|
||||
Reference in New Issue
Block a user