Fix for order of commands in live migration job

Need to export hook first, then run devstack gate.

TrivialFix

Change-Id: I663960bacfae3ffcc3ba4dd6db7a825b89643df6
This commit is contained in:
Timofey Durakov 2015-11-13 10:01:13 +03:00
parent d5b3baf285
commit 1a17c62e44

View File

@ -2033,12 +2033,12 @@
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
function post_test_hook {{
/opt/stack/new/nova/nova/tests/live_migration/run_tests.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs