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

add 6.0.0 stress test envs to nightly tests and stress test script

refs #4797


git-svn-id: file:///svn/toku/tokudb@45053 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2ee18e3d
...@@ -660,8 +660,8 @@ if __name__ == '__main__': ...@@ -660,8 +660,8 @@ if __name__ == '__main__':
help="skip the tests that don't involve upgrade [default=False]") help="skip the tests that don't involve upgrade [default=False]")
upgrade_group.add_option('--double_upgrade', action='store_true', dest='double_upgrade', default=False, upgrade_group.add_option('--double_upgrade', action='store_true', dest='double_upgrade', default=False,
help='run the upgrade tests twice in a row [default=False]') help='run the upgrade tests twice in a row [default=False]')
upgrade_group.add_option('--add_old_version', action='append', type='choice', dest='old_versions', choices=['4.2.0', '5.0.8', '5.2.7'], upgrade_group.add_option('--add_old_version', action='append', type='choice', dest='old_versions', choices=['4.2.0', '5.0.8', '5.2.7', '6.0.0'],
help='which old versions to use for running the stress tests in upgrade mode. can be specified multiple times [options=4.2.0, 5.0.8, 5.2.7]') help='which old versions to use for running the stress tests in upgrade mode. can be specified multiple times [options=4.2.0, 5.0.8, 5.2.7, 6.0.0]')
upgrade_group.add_option('--old_environments_dir', type='string', dest='old_environments_dir', upgrade_group.add_option('--old_environments_dir', type='string', dest='old_environments_dir',
default='../../tokudb.data/old-stress-test-envs', default='../../tokudb.data/old-stress-test-envs',
help='directory containing old version environments (should contain 5.0.8/, 5.2.7/, etc, and the environments should be in those) [default=../../tokudb.data/stress_environments]') help='directory containing old version environments (should contain 5.0.8/, 5.2.7/, etc, and the environments should be in those) [default=../../tokudb.data/stress_environments]')
......
...@@ -456,7 +456,7 @@ if(BUILD_TESTING) ...@@ -456,7 +456,7 @@ if(BUILD_TESTING)
if (NOT ${src} MATCHES test_stress_openclose) if (NOT ${src} MATCHES test_stress_openclose)
string(REGEX REPLACE "\\.c$" ".tdb" test "${src}") string(REGEX REPLACE "\\.c$" ".tdb" test "${src}")
foreach(oldver 4.2.0 5.0.8 5.2.7) foreach(oldver 4.2.0 5.0.8 5.2.7 6.0.0)
foreach(p_or_s pristine stressed) foreach(p_or_s pristine stressed)
if (NOT (${src} MATCHES test_stress4 AND ${p_or_s} MATCHES stressed)) if (NOT (${src} MATCHES test_stress4 AND ${p_or_s} MATCHES stressed))
foreach(size 2000) foreach(size 2000)
......
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