summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-07-20 18:43:52 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-07-20 18:43:52 -0400
commitd4f0aee1370efb9b92667e6636e9cf74472291a8 (patch)
treeb34b4b29c23ce034506780f231b5367eaab17db2 /jstests
parent637aba8a4a95a6abb8c05795635637ec4f7ebaf5 (diff)
downloadmongo-d4f0aee1370efb9b92667e6636e9cf74472291a8.tar.gz
SERVER-30133 fix lint
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js b/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
index 24bfa0fba8c..b358b54a409 100644
--- a/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
+++ b/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
@@ -29,24 +29,22 @@
let nss = db + "." + coll;
// Given a command, build its expected shape in the system profiler.
- let buildCommandProfile =
- function(command) {
+ let buildCommandProfile = function(command) {
let commandProfile = {ns: nss};
for (let key in command) {
commandProfile["command." + key] = command[key];
}
return commandProfile;
- }
+ };
// Check that a test case is well-formed.
- let validateTestCase =
- function(test) {
+ let validateTestCase = function(test) {
assert(test.setUp && typeof(test.setUp) === "function");
assert(test.command && typeof(test.command) === "object");
assert(test.checkResults && typeof(test.checkResults) === "function");
assert(test.behavior === "unshardedOnly" || test.behavior === "unversioned" ||
test.behavior === "versioned");
- }
+ };
let testCases = {
_configsvrAddShard: {skip: "primary only"},