diff options
author | Kyle Suarez <kyle.suarez@mongodb.com> | 2016-08-24 14:48:20 -0400 |
---|---|---|
committer | Kyle Suarez <kyle.suarez@mongodb.com> | 2016-08-24 17:39:00 -0400 |
commit | 7486388e02d31c3ef31ffd399d4304843527a12e (patch) | |
tree | fa11b7108d8f9f78c267eb318d56bd198bbe0050 /src/mongo/shell/utils.js | |
parent | 4a19bd94247f4356229f2f3a7b95f76451f41a9b (diff) | |
download | mongo-7486388e02d31c3ef31ffd399d4304843527a12e.tar.gz |
SERVER-25768 skip hooks in fuzzer suites when invalid views present
Skips the validate and dbhash hooks for jstestfuzz* suites when listCollections
fails with an InvalidViewDefinition error.
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r-- | src/mongo/shell/utils.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js index 1cf2cd1bef7..ae63f0fc7f3 100644 --- a/src/mongo/shell/utils.js +++ b/src/mongo/shell/utils.js @@ -195,7 +195,8 @@ jsTestOptions = function() { // Note: does not support the array version mongosBinVersion: TestData.mongosBinVersion || "", shardMixedBinVersions: TestData.shardMixedBinVersions || false, - networkMessageCompressors: TestData.networkMessageCompressors + networkMessageCompressors: TestData.networkMessageCompressors, + skipValidationOnInvalidViewDefinitions: TestData.skipValidationOnInvalidViewDefinitions }); } return _jsTestOptions; |