summaryrefslogtreecommitdiff
path: root/jstests/replsets/resync_with_write_load.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:30:42 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-05 15:00:51 -0500
commitf768da59c3c4bbee218355e2c9c7bdd1df266ff4 (patch)
tree7f15ac93b8d026cad7e3e4acbb76dca754822ebb /jstests/replsets/resync_with_write_load.js
parentbb207e87bbf6593cc73be1e4f684f3e83191ff61 (diff)
downloadmongo-f768da59c3c4bbee218355e2c9c7bdd1df266ff4.tar.gz
SERVER-22341 fix jslint errors in jstests/replsets with eslint --fix
Diffstat (limited to 'jstests/replsets/resync_with_write_load.js')
-rw-r--r--jstests/replsets/resync_with_write_load.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/replsets/resync_with_write_load.js b/jstests/replsets/resync_with_write_load.js
index b79ab6df616..392c7254bc5 100644
--- a/jstests/replsets/resync_with_write_load.js
+++ b/jstests/replsets/resync_with_write_load.js
@@ -5,7 +5,7 @@
* We cannot test each phase of the initial sync directly but by providing constant writes we can
* assume that each individual phase will have data to work with, and therefore tested.
*/
-var testName = "resync_with_write_load"
+var testName = "resync_with_write_load";
var replTest = new ReplSetTest({name: testName, nodes: 3, oplogSize: 100});
var nodes = replTest.nodeList();
@@ -46,7 +46,7 @@ var work = function() {
while (true) {
for (x=0; x < 100; x++) {
db["a" + x].insert({a:x});
- };
+ }
var runTime = (new Date().getTime() - start);
if (runTime > 30000)
@@ -56,7 +56,7 @@ var work = function() {
else
sleep(1);
- };
+ }
print("finshing loadgen");
};
//insert enough that resync node has to go through oplog replay in each step