Call post hook from ironicclient in functional tests
The benefit from this approach is it will immediately pick up proposed changes on ironicclient side and runs job. It allows us to see the change breakes tests or not w/o redeploy. Depends-On: Id476430d01a57a83bd4ee42b2d03e681835dfec3 Change-Id: I49ac8356b97868724aea3183416b750b6676fb17
This commit is contained in:
parent
caa8872cb4
commit
c4b6244154
@ -62,8 +62,8 @@
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin ironic git://git.openstack.org/openstack/ironic"
|
||||
|
||||
function post_test_hook {{
|
||||
source $BASE/new/devstack/openrc admin admin
|
||||
(cd /opt/stack/new/python-ironicclient && sudo -H -u stack ./tools/run_functional.sh)
|
||||
# Configure and run functional tests
|
||||
$BASE/new/python-ironicclient/ironicclient/tests/functional/hooks/post_test_hook.sh
|
||||
}}
|
||||
|
||||
export -f post_test_hook
|
||||
|
Loading…
Reference in New Issue
Block a user