diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-04 12:30:06 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-05 15:00:51 -0500 |
commit | 8ca7124defb9a617281e4e557fd811c66ee0ef82 (patch) | |
tree | 5884859a265397ea16018b55ae9efd731d4e1695 /jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js | |
parent | b4b016d9732a189fceddbcad5be378a7848d95b1 (diff) | |
download | mongo-8ca7124defb9a617281e4e557fd811c66ee0ef82.tar.gz |
SERVER-22341 fix jslint errors in jstests/noPassthroughWithMongod with eslint --fix
Diffstat (limited to 'jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js b/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js index bf9317aad95..a4319a15c13 100644 --- a/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js +++ b/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js @@ -29,7 +29,7 @@ assert.commandWorked(slave1col.runCommand("godinsert", {obj: {_id: new Date(), x: new Date( (new Date()).getTime() - 600000 ) } })); assert.eq(1, slave1col.count(), "missing inserted doc" ); -sleep(70*1000) //wait for 70seconds +sleep(70*1000); //wait for 70seconds assert.eq(1, slave1col.count(), "ttl deleted my doc!" ); // looking for these errors : "Assertion: 13312:replSet error : logOp() but not primary", @@ -38,7 +38,7 @@ assert.eq(1, slave1col.count(), "ttl deleted my doc!" ); var errorStrings = ["Assertion: 13312", "Assertion 17405"]; var foundError = false; var foundLine = ""; -var globalLogLines = assert.commandWorked(slave1col.getDB().adminCommand({getLog:"global"})).log +var globalLogLines = assert.commandWorked(slave1col.getDB().adminCommand({getLog:"global"})).log; for (i in globalLogLines) { var line = globalLogLines[i]; errorStrings.forEach(function(errorString) { |