Fixed gate-trove-functional-dsvm jobs

Fixed the post_test_hook for the gate-trove-functional-dsvm job
template to set up the environment correctly to run and run Trove
functional tests using the test scripts from the trove-integration
project.

Change-Id: Ic470268858e03970c2628ef06e1ed21940ed27f9
Depends-On: I78471d7f11d0f1a23e2efc28da2e62c5707e575a
This commit is contained in:
Nikhil Manchanda 2014-07-09 03:22:39 -07:00
parent c73bd5d994
commit 922f74097a
2 changed files with 7 additions and 5 deletions

View File

@ -33,7 +33,7 @@
wrappers:
- build-timeout:
timeout: 85
timeout: 95
- timestamps
builders:
@ -43,15 +43,16 @@
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=80
export ENABLED_SERVICES=s-proxy,s-object,s-container,s-account,trove,tr-api,tr-tmgr,tr-cond
export DEVSTACK_GATE_TIMEOUT=90
export ENABLED_SERVICES=tempest,s-proxy,s-object,s-container,s-account,trove,tr-api,tr-tmgr,tr-cond
export PROJECTS="openstack/trove-integration openstack/diskimage-builder openstack/tripleo-image-elements $PROJECTS"
function post_test_hook {{
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove-integration/scripts
./redstack kick-start {datastore}
./redstack int-tests --group={datastore}
./redstack dsvm-gate-tests {datastore}
}}
export -f post_test_hook

View File

@ -2525,6 +2525,7 @@ projects:
- noop
experimental:
- gate-trove-buildimage-mysql
- gate-trove-functional-dsvm-mysql
# TODO: add docs
- name: openstack/tuskar-ui