summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2018-01-16 14:54:44 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2018-01-16 16:34:36 -0500
commitef81d53b986aa701c722820a204eba73a635f748 (patch)
tree791caf39d5285edd3f00a5835de63d6fcae05e8e /jstests/core
parent25f0c6ae6c4fa80244cadb8a6bfcbf9bcc8b7742 (diff)
downloadmongo-ef81d53b986aa701c722820a204eba73a635f748.tar.gz
SERVER-32726 Fix out-of-order error code in update_driver.cpp
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/apply_ops1.js2
-rw-r--r--jstests/core/do_txn_basic.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/apply_ops1.js b/jstests/core/apply_ops1.js
index 9cfddf7e314..fc019951efd 100644
--- a/jstests/core/apply_ops1.js
+++ b/jstests/core/apply_ops1.js
@@ -546,7 +546,7 @@
}
]
}));
- assert.eq(res.code, 50659);
+ assert.eq(res.code, 40682);
// When we explicitly specify {$v: 1}, we should get 'UpdateNode' update semantics, and $set
// operations get performed in lexicographic order.
diff --git a/jstests/core/do_txn_basic.js b/jstests/core/do_txn_basic.js
index e7b30cf28c7..b999de1e06c 100644
--- a/jstests/core/do_txn_basic.js
+++ b/jstests/core/do_txn_basic.js
@@ -233,7 +233,7 @@
}
]
}));
- assert.eq(res.code, 50659);
+ assert.eq(res.code, 40682);
// When we explicitly specify {$v: 1}, we should get 'UpdateNode' update semantics, and $set
// operations get performed in lexicographic order.