Rally / Designate - Call correct post_test_hook script

Change-Id: Ib778c311f29a6c71e219b7a0517f977c0ae38d9b
This commit is contained in:
Endre Karlson 2015-12-18 15:24:02 +01:00
parent 7a05e20996
commit b104503792

View File

@ -143,14 +143,14 @@
export -f pre_test_hook export -f pre_test_hook
function post_test_hook {{ function post_test_hook {{
cd /opt/stack/new/designate/contrib/devstack $BASE/new/rally/tests/ci/rally-gate.sh
./post_test_hook.sh
}} }}
export -f post_test_hook export -f post_test_hook
else else
# Otherwise, enable the Designate devstack plugin. # Otherwise, enable the Designate devstack plugin.
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin designate git://git.openstack.org/openstack/designate" DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin designate git://git.openstack.org/openstack/designate"
export DEVSTACK_LOCAL_CONFIG
function gate_hook {{ function gate_hook {{
cd /opt/stack/new/designate/devstack/gate cd /opt/stack/new/designate/devstack/gate
@ -159,8 +159,7 @@
export -f gate_hook export -f gate_hook
function post_test_hook {{ function post_test_hook {{
cd /opt/stack/new/designate/devstack/gate $BASE/new/rally/tests/ci/rally-gate.sh
./post_test_hook.sh
}} }}
export -f post_test_hook export -f post_test_hook
fi fi