summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2022-04-15 13:55:53 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-15 14:35:14 +0000
commit151b8aed39b4acba90102c7ecc920585d6be9bb8 (patch)
tree1d727a9846c91d25820cfa47e0113bcd233f7ed3
parent2d46c87afcdf34a384d10e37b7b9b6ca2986fdf4 (diff)
downloadmongo-151b8aed39b4acba90102c7ecc920585d6be9bb8.tar.gz
SERVER-65689 Accept 'unrecognized stage' as acceptable error code
-rw-r--r--jstests/aggregation/variables/search_meta.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/variables/search_meta.js b/jstests/aggregation/variables/search_meta.js
index d6b4afa2ba3..4cf0409c674 100644
--- a/jstests/aggregation/variables/search_meta.js
+++ b/jstests/aggregation/variables/search_meta.js
@@ -42,5 +42,5 @@ assert.commandFailedWithCode(db.runCommand({
assert.throwsWithCode(
() => db.non_existent_namespace.aggregate([{$searchMeta: {query: {nonsense: true}}}]),
- [6448001, 31082]); // Error code may change on mongos
+ [6448001, 31082, 40324]); // Error code may change on mongos or on community server.
})();