From cee11778c9528e22bb5a89db7aef3eefc5d0893a Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 2 Jul 2013 17:50:41 -0400 Subject: [PATCH] Add a tox job to run stress tests. This adds a tox job that will run the stress tests. It first runs the server create destroy test for an hour followed by running the volume create destroy test for another hour. Change-Id: I75dae72baa3f1e0bac90fb96ba293fd7c76679b3 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index caa94030a3..964dbca47e 100644 --- a/tox.ini +++ b/tox.ini @@ -61,6 +61,14 @@ commands = nosetests --logging-format '%(asctime)-15s %(message)s' --with-xunit --xunit-file=nosetests-full.xml -sv tempest/api tempest/scenario tempest/thirdparty tempest/cli python -m tools/tempest_coverage -c report --html {posargs} +[testenv:stress] +sitepackages = True +setenv = VIRTUAL_ENV={envdir} +commands = + python -m tempest/stress/run_stress tempest/stress/etc/sample-test.json -d 60 + python -m tempest/stress/run_stress tempest/stress/etc/volume-create-delete-test.json -d 60 + + [testenv:venv] commands = {posargs} deps = -r{toxinidir}/requirements.txt