Commit a60df408 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 42dec70f
......@@ -66,6 +66,7 @@ class TestRunnerBase(object):
self.tsize = tsize
self.csize = csize
self.default_test_time = default_test_time
self.long_test_index = randrange(16)
self.savedir = savedir
self.env = os.environ
......@@ -117,7 +118,7 @@ class TestRunnerBase(object):
@property
def test_time(self):
if self.nruns % 16 == 0:
if self.nruns % 16 == self.long_test_index:
return 3600
else:
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