Commit 8689af4d authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5662 stagger the long running stress tests


git-svn-id: file:///svn/toku/tokudb@50176 c7de825b-a66e-492c-adef-691d508d4ae1
parent 88ff1c58
...@@ -66,6 +66,7 @@ class TestRunnerBase(object): ...@@ -66,6 +66,7 @@ class TestRunnerBase(object):
self.tsize = tsize self.tsize = tsize
self.csize = csize self.csize = csize
self.default_test_time = default_test_time self.default_test_time = default_test_time
self.long_test_index = randrange(16)
self.savedir = savedir self.savedir = savedir
self.env = os.environ self.env = os.environ
...@@ -117,7 +118,7 @@ class TestRunnerBase(object): ...@@ -117,7 +118,7 @@ class TestRunnerBase(object):
@property @property
def test_time(self): def test_time(self):
if self.nruns % 16 == 0: if self.nruns % 16 == self.long_test_index:
return 3600 return 3600
else: else:
return self.default_test_time return self.default_test_time
......
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