diff options
author | Dan Pasette <dan@10gen.com> | 2014-09-28 17:12:26 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2014-09-29 18:31:31 -0400 |
commit | 78a778b23bed9018e56b8573b052ee2117beac46 (patch) | |
tree | daedd9285de2cfbfe02576a376da67dae8c36467 /buildscripts | |
parent | 8e83e72512fcb8eb8f06987927766c0b77cea23e (diff) | |
download | mongo-78a778b23bed9018e56b8573b052ee2117beac46.tar.gz |
SERVER-13635: honor --storageEngine option in spawned processes
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 3 |
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 ) ) + '";' + \ |