summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorIan Boros <ian.boros@mongodb.com>2021-04-06 12:03:44 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-07 18:08:51 +0000
commitb1a5785e9649d6eff5783b214730286f343087db (patch)
tree870a06f3fc6d4fa600dd64d6513129347d28b922 /jstests
parent73e0a4048d818987ef6a9d0b95799fdf93bd03f6 (diff)
downloadmongo-b1a5785e9649d6eff5783b214730286f343087db.tar.gz
SERVER-54316 Enable server6125.js for SBE
Diffstat (limited to 'jstests')
-rw-r--r--jstests/aggregation/bugs/server6125.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/aggregation/bugs/server6125.js b/jstests/aggregation/bugs/server6125.js
index 36e825dd682..6414a2eae45 100644
--- a/jstests/aggregation/bugs/server6125.js
+++ b/jstests/aggregation/bugs/server6125.js
@@ -1,3 +1,4 @@
+(function() {
//
// testing $sort aggregation pipeline for heterogeneity (SERVER-6125)
// method:
@@ -6,9 +7,6 @@
// Save the array members to the db.
// aggregate($sort)
// iterate through the array ensuring the _ids are in the correct order
-// @tags: [
-// sbe_incompatible,
-// ]
// to make results array nested (problem 2)
function nestArray(nstArray) {
@@ -96,3 +94,4 @@ runSort({a: -1}, false, "p3");
// problem 4, reverse order sort with nested array
runSort({"a": -1}, true, "p4a");
runSort({"a.b": -1}, true, "p4b");
+})();