diff options
Diffstat (limited to 'jstests/noPassthrough/ignore_notablescan.js')
-rw-r--r-- | jstests/noPassthrough/ignore_notablescan.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/ignore_notablescan.js b/jstests/noPassthrough/ignore_notablescan.js index 255b646f757..ab8c3e00911 100644 --- a/jstests/noPassthrough/ignore_notablescan.js +++ b/jstests/noPassthrough/ignore_notablescan.js @@ -29,7 +29,7 @@ function runTests(ServerType) { // the reported query error code is the cryptic 'BadValue'. assert.commandFailedWithCode( primaryDB.runCommand({find: collName, filter: {any_nonexistent_field: {$exists: true}}}), - ErrorCodes.BadValue); + ErrorCodes.NoQueryExecutionPlans); s.stop(); } |