diff options
author | Dan Pasette <dan@10gen.com> | 2015-07-14 12:46:19 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2015-07-14 12:46:19 -0400 |
commit | e8b1c31e6739883b18d2cad635304c951fd570e5 (patch) | |
tree | f0bf393b404ecaa4b7d7d82ffec708b4a498ecf7 /jstests | |
parent | b8281bc4cee1cef1925077b23dadd6c9dc47e33f (diff) | |
download | mongo-e8b1c31e6739883b18d2cad635304c951fd570e5.tar.gz |
SERVER-19144 SERVER-19145 test rollback of doc validation states and levels
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/rollback_collMod_PowerOf2Sizes.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/replsets/rollback_collMod_PowerOf2Sizes.js b/jstests/replsets/rollback_collMod_PowerOf2Sizes.js index f7ad95137ad..c3914f4c07b 100644 --- a/jstests/replsets/rollback_collMod_PowerOf2Sizes.js +++ b/jstests/replsets/rollback_collMod_PowerOf2Sizes.js @@ -45,7 +45,9 @@ replTest.stop(BID); assert.commandWorked(a_conn.getDB(name).runCommand({collMod: "foo", usePowerOf2Sizes: false, noPadding: true, - validator: {a: 1}})); + validator: {a: 1}, + validationLevel: "moderate", + validationState: "warn"})); assert.eq(getOptions(a_conn), {flags: 2, validator: {a: 1}, validationLevel: "moderate", |