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

View File

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