Merge "Copy over pre/post test hooks to check-tempest-dsvm-f20-docker"

This commit is contained in:
Jenkins 2014-12-24 19:19:39 +00:00 committed by Gerrit Code Review
commit e2cf863a3d

View File

@ -67,6 +67,21 @@
export -f gate_hook
function pre_test_hook {
if [ -f $BASE/new/nova-docker/contrib/devstack/pre_test_hook.sh ] ; then
$BASE/new/nova-docker/contrib/devstack/pre_test_hook.sh
fi
}
export -f pre_test_hook
function post_test_hook {
if [ -f $BASE/new/nova-docker/contrib/devstack/post_test_hook.sh ] ; then
$BASE/new/nova-docker/contrib/devstack/post_test_hook.sh
fi
}
export -f post_test_hook
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export PROJECTS="stackforge/nova-docker $PROJECTS"