Tempest Gate

1. Updated local.conf configuration before running devstack-vm-gate.sh under gate_hook.sh
2. Set post_test_hook.sh to run topology tempest tests under vitrage_tempest_tests folder

Change-Id: Idd98ac5e2940cb3f869f62cde8deef84ee467ad9
This commit is contained in:
Noam Bloom 2016-05-03 14:05:03 +03:00
parent 71670c59f9
commit 9e28c41fbd
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-120} \
${PYTHON:-python} -m subunit.run discover $DISCOVER_DIRECTORY $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -24,5 +24,5 @@ sudo pip install nose
(cd $BASE/new/vitrage/; sudo rm -rf .testrepository/)
(cd $BASE/new/vitrage/; sudo testr init)
(cd $BASE/new/vitrage/; sudo sh -c 'testr list-tests vitrage_tempest_tests | grep vitrage > vitrage_tempest_tests.list')
(cd $BASE/new/vitrage/; sudo sh -c 'testr list-tests vitrage_tempest_tests | grep -E "datasources|topology" > vitrage_tempest_tests.list')
(cd $BASE/new/vitrage/; sudo sh -c 'testr run --subunit --load-list=vitrage_tempest_tests.list | subunit-trace --fails')