summaryrefslogtreecommitdiff
path: root/jstests/aggregation/variables/search_meta.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/variables/search_meta.js')
-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 bcbeef233ed..ba9fe1430ae 100644
--- a/jstests/aggregation/variables/search_meta.js
+++ b/jstests/aggregation/variables/search_meta.js
@@ -46,7 +46,7 @@ const response = db.runCommand({
cursor: {}
});
if (!response.ok) {
- assert.commandFailedWithCode(response, [31082, 6047401] /* mongos or community */);
+ assert.commandFailedWithCode(response, [31082, 40324] /* community or mongos */);
} else {
assert.eq(response.cursor.firstBatch, []);
}