Commit 04f6bd0b authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5662 every once in a while, run a stress test for a really long time

(an hour here)


git-svn-id: file:///svn/toku/tokudb@50170 c7de825b-a66e-492c-adef-691d508d4ae1
parent e750561c
......@@ -57,7 +57,7 @@ class Killed(Exception):
pass
class TestRunnerBase(object):
def __init__(self, scheduler, builddir, installdir, rev, jemalloc, execf, tsize, csize, test_time, savedir):
def __init__(self, scheduler, builddir, installdir, rev, jemalloc, execf, tsize, csize, default_test_time, savedir):
self.scheduler = scheduler
self.builddir = builddir
self.installdir = installdir
......@@ -65,7 +65,7 @@ class TestRunnerBase(object):
self.execf = execf
self.tsize = tsize
self.csize = csize
self.test_time = test_time
self.default_test_time = default_test_time
self.savedir = savedir
self.env = os.environ
......@@ -115,6 +115,13 @@ class TestRunnerBase(object):
else:
return 0
@property
def test_time(self):
if self.nruns % 16 == 0:
return 3600
else:
return self.default_test_time
@property
def envdir(self):
return os.path.join(self.rundir, 'envdir')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment