-
Notifications
You must be signed in to change notification settings - Fork 122
Fractal tree stress tests
Rik Prohaska edited this page Apr 9, 2015
·
4 revisions
Get the data files
svn checkout --depth immediates https://svn.tokutek.com/tokudb
cd svn.tokutek.com/tokudb/tokudb.data
svn up --depth infinity
Get the code. Use the commit ID for the version under test.
git clone -b ID [email protected]:Tokutek/ft-index ft-index
git clone -b ID [email protected]:Tokutek/jemalloc ft-index/third_party/jemalloc
Start the stress tests. Change the branch parameter to the version under tested.
../ft-index/scripts/run.stress-tests.py --cc=gcc --cxx=g++ --log=$PWD/run.stress-tests.log --savedir=$PWD/savedir-logs [email protected] --branch=tokudb-7.5.0-rc2 -j 8 --tokudb_data=$HOME/svn.tokutek.com/tokudb//tokudb.data --run_upgrade --double_upgrade --old_environments_dir=$HOME/svn.tokutek.com/tokudb/tokudb.data/old-stress-test-envs --add_old_version=4.2.0 --add_old_version=5.0.8 --add_old_version=5.2.7 --add_old_version=6.0.0 --add_old_version=6.1.0 --add_old_version=6.5.1 --add_old_version=6.6.3 --add_old_version=7.0.1 --add_old_version=7.1.6 --add_old_version=v26 --add_old_version=7.5.0
Monitor the stress tests
watch "date; echo; awk '\$1 ~ /PASSED/ { pass[\$3] += 1 } /FAILED/ { fail[\$3] += 1 } END { print \"PASSED\"; for (k in pass) { print \"\\t\", k,pass[k] } print \"FAILED\"; for (k in fail) { print \"\\t\", k, fail[k] } }' run.stress-tests.log; echo; echo; grep '^FAILED' run.stress-tests.log | tac | head -n15"
Expected results: all tests pass.