summaryrefslogtreecommitdiff
path: root/jstests/multiVersion/dumprestore.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/multiVersion/dumprestore.js')
-rw-r--r--jstests/multiVersion/dumprestore.js20
1 files changed, 9 insertions, 11 deletions
diff --git a/jstests/multiVersion/dumprestore.js b/jstests/multiVersion/dumprestore.js
index 07b7895c07f..8d692e4abb6 100644
--- a/jstests/multiVersion/dumprestore.js
+++ b/jstests/multiVersion/dumprestore.js
@@ -1,7 +1,6 @@
// dumprestore.js
-load( './jstests/multiVersion/libs/dumprestore_helpers.js' );
-
+load('./jstests/multiVersion/libs/dumprestore_helpers.js');
// The base name to use for various things in the test, including the dbpath and the database name
var testBaseName = "jstests_tool_dumprestore";
@@ -12,14 +11,13 @@ var testDbpath = MongoRunner.dataPath + testBaseName + "_dbpath_external/";
// Start with basic multiversion tests just running against a single mongod
var singleNodeTests = {
- 'serverSourceVersion' : [ "latest", "last-stable" ],
- 'serverDestVersion' :[ "latest", "last-stable" ],
- 'mongoDumpVersion' :[ "latest", "last-stable" ],
- 'mongoRestoreVersion' :[ "latest", "last-stable" ],
- 'dumpDir' : [ dumpDir ],
- 'testDbpath' : [ testDbpath ],
- 'dumpType' : [ "mongod" ],
- 'restoreType' : [ "mongod" ]
+ 'serverSourceVersion': ["latest", "last-stable"],
+ 'serverDestVersion': ["latest", "last-stable"],
+ 'mongoDumpVersion': ["latest", "last-stable"],
+ 'mongoRestoreVersion': ["latest", "last-stable"],
+ 'dumpDir': [dumpDir],
+ 'testDbpath': [testDbpath],
+ 'dumpType': ["mongod"],
+ 'restoreType': ["mongod"]
};
runAllDumpRestoreTests(singleNodeTests);
-