summaryrefslogtreecommitdiff
path: root/jstests/tool/dumprestore7.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/tool/dumprestore7.js')
-rw-r--r--jstests/tool/dumprestore7.js15
1 files changed, 7 insertions, 8 deletions
diff --git a/jstests/tool/dumprestore7.js b/jstests/tool/dumprestore7.js
index 0598e73c0a8..9235dd9c450 100644
--- a/jstests/tool/dumprestore7.js
+++ b/jstests/tool/dumprestore7.js
@@ -48,14 +48,13 @@ step("try mongodump with $timestamp");
var data = MongoRunner.dataDir + "/dumprestore7-dump1/";
var query = "{\"ts\":{\"$gt\":{\"$timestamp\":{\"t\":" + time.ts.t + ",\"i\":" + time.ts.i + "}}}}";
-MongoRunner.runMongoTool("mongodump",
- {
- "host": "127.0.0.1:" + replTest.ports[0],
- "db": "local",
- "collection": "oplog.rs",
- "query": query,
- "out": data
- });
+MongoRunner.runMongoTool("mongodump", {
+ "host": "127.0.0.1:" + replTest.ports[0],
+ "db": "local",
+ "collection": "oplog.rs",
+ "query": query,
+ "out": data
+});
step("try mongorestore from $timestamp");