summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2014-09-28 17:12:26 -0400
committerDan Pasette <dan@mongodb.com>2014-09-29 18:31:31 -0400
commit78a778b23bed9018e56b8573b052ee2117beac46 (patch)
treedaedd9285de2cfbfe02576a376da67dae8c36467 /buildscripts
parent8e83e72512fcb8eb8f06987927766c0b77cea23e (diff)
downloadmongo-78a778b23bed9018e56b8573b052ee2117beac46.tar.gz
SERVER-13635: honor --storageEngine option in spawned processes
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index 9c185079462..2332db718bc 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -219,7 +219,7 @@ class mongod(NullMongod):
utils.ensureDir(dir_name)
argv = [mongod_executable, "--port", str(self.port), "--dbpath", dir_name]
- # These parameters are alwas set for tests
+ # These parameters are always set for tests
# SERVER-9137 Added httpinterface parameter to keep previous behavior
argv += ['--setParameter', 'enableTestCommands=1', '--httpinterface']
if self.kwargs.get('small_oplog'):
@@ -542,6 +542,7 @@ def runTest(test, result):
# hangs... that's bad.
if ( argv[0].endswith( 'mongo' ) or argv[0].endswith( 'mongo.exe' ) ) and not '--eval' in argv :
evalString = 'TestData = new Object();' + \
+ 'TestData.storageEngine = "' + ternary( storage_engine, storage_engine, "" ) + '";' + \
'TestData.testPath = "' + path + '";' + \
'TestData.testFile = "' + os.path.basename( path ) + '";' + \
'TestData.testName = "' + re.sub( ".js$", "", os.path.basename( path ) ) + '";' + \