Commit e58a55df authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

update run.stress-tests.py to avoid running test_stress4.tdb on already

stressed envs


git-svn-id: file:///svn/toku/tokudb@44980 c7de825b-a66e-492c-adef-691d508d4ae1
parent de706bd5
......@@ -494,11 +494,14 @@ def main(opts):
'pristine_or_stressed': pristine_or_stressed
}
upgrade_kwargs.update(kwargs)
if opts.double_upgrade:
# skip running test_stress4.tdb on any env
# that has already been stressed, as that
# breaks its assumptions
if opts.double_upgrade and test != 'test_stress4.tdb':
runners.append(DoubleUpgradeTestRunner(
execf=test,
**upgrade_kwargs))
else:
elif not (test == 'test_stress4.tdb' and pristine_or_stressed == 'stressed'):
runners.append(UpgradeTestRunner(
execf=test,
**upgrade_kwargs))
......
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