summaryrefslogtreecommitdiff
path: root/jstests/sharding/max_time_ms_sharded.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/max_time_ms_sharded.js')
-rw-r--r--jstests/sharding/max_time_ms_sharded.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/sharding/max_time_ms_sharded.js b/jstests/sharding/max_time_ms_sharded.js
index b551826ddfe..33121e61712 100644
--- a/jstests/sharding/max_time_ms_sharded.js
+++ b/jstests/sharding/max_time_ms_sharded.js
@@ -17,8 +17,7 @@
var res;
// Helper function to configure "maxTimeAlwaysTimeOut" fail point on shards, which forces mongod
- // to
- // throw if it receives an operation with a max time. See fail point declaration for complete
+ // to throw if it receives an operation with a max time. See fail point declaration for complete
// description.
var configureMaxTimeAlwaysTimeOut = function(mode) {
assert.commandWorked(shards[0].getDB("admin").runCommand(
@@ -28,8 +27,7 @@
};
// Helper function to configure "maxTimeAlwaysTimeOut" fail point on shards, which prohibits
- // mongod
- // from enforcing time limits. See fail point declaration for complete description.
+ // mongod from enforcing time limits. See fail point declaration for complete description.
var configureMaxTimeNeverTimeOut = function(mode) {
assert.commandWorked(shards[0].getDB("admin").runCommand(
{configureFailPoint: "maxTimeNeverTimeOut", mode: mode}));
@@ -221,8 +219,6 @@
}),
"expected moveChunk to not hit time limit in mongod");
- // TODO Test additional commmands.
-
st.stop();
})();