Added pre_hook for sahara cli tests

Added call for pre_test_hook method and fixed filter for
local debugging

Change-Id: Iee81d2e6202db3164b9a70e3d388218f49858f7a
This commit is contained in:
Evgeny Sikachev 2016-06-23 15:28:45 +03:00
parent 404e673ca7
commit 91bf8a813d
2 changed files with 6 additions and 1 deletions

View File

@ -150,10 +150,16 @@
export DEVSTACK_PROJECT_FROM_GIT=python-saharaclient
fi
function pre_test_hook {
cd /opt/stack/new/sahara-tests/tools/gate/cli_tests
./pre_test_hook.sh
}
function post_test_hook {
cd /opt/stack/new/sahara-tests/tools/gate/cli_tests
./post_test_hook.sh
}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh

View File

@ -2924,7 +2924,6 @@ jobs:
- ^etc/.*$
- ^sahara_tests/.*$
- ^sahara_tempest_plugin/.*$
- ^tools/.*$
- ^tox.ini$
# Only run the unit cross tests for cliff against master.