summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-03-10 09:51:50 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-03-10 11:30:07 -0500
commit44d8a4dd0f8f27b72e2040e2bde74c552739eb23 (patch)
tree97a8934b6dd2a39a2bccfe0b479182dab789ea3f /jstests
parent6efa681435ec30467ca88edc449b241bb2c326bf (diff)
downloadmongo-44d8a4dd0f8f27b72e2040e2bde74c552739eb23.tar.gz
SERVER-22359 Move ensureShardVersionOkOrThrow to CollectionShardingState
This ensures that we will have assertions in place for the correct locks being held.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/coll_epoch_test1.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/sharding/coll_epoch_test1.js b/jstests/sharding/coll_epoch_test1.js
index 28962732c25..0a65589ece6 100644
--- a/jstests/sharding/coll_epoch_test1.js
+++ b/jstests/sharding/coll_epoch_test1.js
@@ -1,7 +1,7 @@
// Tests various cases of dropping and recreating collections in the same namespace with multiple
// mongoses
-var st = new ShardingTest({shards: 3, mongos: 3, verbose: 1});
+var st = new ShardingTest({shards: 3, mongos: 3});
// Balancer is by default stopped, thus it will not interfere
// Use separate mongoses for admin, inserting data, and validating results, so no
@@ -13,8 +13,6 @@ var config = st.s.getDB("config");
var admin = st.s.getDB("admin");
var coll = st.s.getCollection("foo.bar");
-insertMongos.getDB("admin").runCommand({setParameter: 1, traceExceptions: true});
-
var shards = {};
config.shards.find().forEach(function(doc) {
shards[doc._id] = new Mongo(doc.host);