summaryrefslogtreecommitdiff
path: root/jstests/aggregation
diff options
context:
space:
mode:
authorMilena Ivanova <milena.ivanova@mongodb.com>2021-01-04 10:36:55 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-20 14:25:19 +0000
commit4fcd30040ecf655e68b42cbd556fcde575ecda0d (patch)
treeb5b5a2d19673c7d12c33e983efa3837fb4f9c8ff /jstests/aggregation
parentc4c0d3a44248a1ba0b6c45557d0e7a8ebb210386 (diff)
downloadmongo-4fcd30040ecf655e68b42cbd556fcde575ecda0d.tar.gz
SERVER-51666 Implement $dateAdd/ $dateSubtract in SBE.
Diffstat (limited to 'jstests/aggregation')
-rw-r--r--jstests/aggregation/expressions/date_add_subtract.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/aggregation/expressions/date_add_subtract.js b/jstests/aggregation/expressions/date_add_subtract.js
index 6a7945fef1f..d17b7801b93 100644
--- a/jstests/aggregation/expressions/date_add_subtract.js
+++ b/jstests/aggregation/expressions/date_add_subtract.js
@@ -1,7 +1,6 @@
/**
* Tests for $dateAdd and $dateSubtract expressions.
* @tags: [
- * sbe_incompatible,
* requires_fcv_49
* ]
*/
@@ -9,7 +8,8 @@
(function() {
"use strict";
-load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
+load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
+load("jstests/libs/sbe_assert_error_override.js"); // For mapping of error codes in SBE.
const coll = db.date_add_subtract;
coll.drop();