summaryrefslogtreecommitdiff
path: root/buildscripts/smoke.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/smoke.py')
-rwxr-xr-xbuildscripts/smoke.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index c2d28ca05a1..a94504efd54 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -138,7 +138,12 @@ class mongod(object):
self.port += 1
self.slave = True
if os.path.exists ( dirName ):
- call( ["python", "buildscripts/cleanbb.py", dirName] )
+ if 'slave' in self.kwargs:
+ argv = ["python", "buildscripts/cleanbb.py", '--nokill', dirName]
+
+ else:
+ argv = ["python", "buildscripts/cleanbb.py", dirName]
+ call( argv )
utils.ensureDir( dirName )
argv = [mongodExecutable, "--port", str(self.port), "--dbpath", dirName]
if self.kwargs.get('smallOplog'):