summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2021-12-17 16:42:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-17 22:09:47 +0000
commit7c1a51ac9c28cb8df5f3bffdf0f34583af34f7e3 (patch)
tree3d6d4f2fad049184488dfe0380ee6d0d11140d0a /jstests
parent902f9280571e743f2abb8e6a313f5ae6b14ba632 (diff)
downloadmongo-7c1a51ac9c28cb8df5f3bffdf0f34583af34f7e3.tar.gz
SERVER-61300 Configure aggregation_mongos_passthrough suite to use CleanEveryN and re-enable some jstests
(cherry picked from commit 64847408edbae1fdcd250b90aa54a8da0a21aac6)
Diffstat (limited to 'jstests')
-rw-r--r--jstests/aggregation/sources/graphLookup/error.js4
-rw-r--r--jstests/aggregation/spill_to_disk.js6
2 files changed, 1 insertions, 9 deletions
diff --git a/jstests/aggregation/sources/graphLookup/error.js b/jstests/aggregation/sources/graphLookup/error.js
index e40a3b54d15..ef54f88269b 100644
--- a/jstests/aggregation/sources/graphLookup/error.js
+++ b/jstests/aggregation/sources/graphLookup/error.js
@@ -1,8 +1,4 @@
// In MongoDB 3.4, $graphLookup was introduced. In this file, we test the error cases.
-// @tags: [
-// assumes_unsharded_collection
-// ]
-// TODO SERVER-58405: Potentially remove the 'assumes_unsharded_collection' tag from this test.
load("jstests/aggregation/extras/utils.js"); // For "assertErrorCode".
load("jstests/libs/sbe_assert_error_override.js"); // Override error-code-checking APIs.
diff --git a/jstests/aggregation/spill_to_disk.js b/jstests/aggregation/spill_to_disk.js
index be9cfa2bc20..b686875f49d 100644
--- a/jstests/aggregation/spill_to_disk.js
+++ b/jstests/aggregation/spill_to_disk.js
@@ -7,12 +7,9 @@
// Some in memory variants will error because this test uses too much memory. As such, we do not
// run this test on in-memory variants.
//
-// TODO SERVER-61300 investigate the memory usage when the inMemory storage engine is used and
-// remove the 'requires_persistence tag'.
// @tags: [
// requires_collstats,
// requires_pipeline_optimization,
-// requires_persistence,
// ]
(function() {
'use strict';
@@ -166,7 +163,6 @@ for (const op of ['$firstN', '$lastN', '$minN', '$maxN', '$topN', '$bottomN']) {
canSpillToDisk: true
});
}
-
// don't leave large collection laying around
-coll.drop();
+assert(coll.drop());
})();