Fix error in Neutron VPNaaS API CI job.

Some issue was found when running the testing of patch
https://review.openstack.org/#/c/337011 online, fix it in this patch.

Related-bug: #1598652

Change-Id: If06ef1adbcefca37cba39a774a57b6f6f1c3d2e1
Depends-On: I38bc7087fe3cb94cfd532877b2a42441c3733620
This commit is contained in:
JinJingLin 2016-07-14 04:37:42 -05:00
parent d45f4ff4c0
commit 4f0d039d91

View File

@ -153,16 +153,17 @@
else else
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1 export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_vpnaas.tests.tempest.api\." export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_vpnaas.tests.tempest.api\."
fi
function gate_hook {{ function gate_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/test/contrib/gate_hook.sh api{which} bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/gate_hook.sh api{which}
}} }}
export -f gate_hook export -f gate_hook
function post_gate_hook {{ function post_test_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/test/contrib/post_gate_hook.sh api{which} bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/post_test_hook.sh api{which}
}} }}
export -f post_gate_hook export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh