Use correct var in functional test

This commit updates tests/test-tempest-functional.yml to use
tempest_ven_bin instead of assuming tempest is installing into /opt.

We also remove tempest_requirements_git_install_branch since it already
defaults to master.

Change-Id: Ib6624ae06f7cef876376c077861ce368e7289f75
This commit is contained in:
Matt Thompson 2016-05-12 08:12:58 +01:00
parent 22f77167e8
commit d32e7f83fd
2 changed files with 6 additions and 4 deletions

View File

@ -20,8 +20,8 @@
tasks:
- name: Run tempest
shell: |
. /opt/tempest_{{ tempest_git_install_branch }}/bin/activate
/opt/tempest_{{ tempest_git_install_branch }}/run_tempest.sh --no-virtual-env ${RUN_TEMPEST_OPTS} tempest.api.identity.v3
. {{ tempest_venv_bin }}/activate
{{ tempest_venv_bin | dirname }}/run_tempest.sh --no-virtual-env ${RUN_TEMPEST_OPTS} tempest.api.identity.v3
environment:
RUN_TEMPEST_OPTS: "--serial"
vars_files:

View File

@ -39,7 +39,10 @@ openrc_os_domain_name: "Default"
openrc_os_password: "{{ keystone_auth_admin_password }}"
tempest_developer_mode: True
tempest_git_install_branch: master
tempest_requirements_git_install_branch: master
tempest_venv_tag: "{{ tempest_git_install_branch }}"
# tempest_venv_bin is the same as the default in os_tempest role, but we set
# it again here so we can refer to it in test-tempest-functional.yml
tempest_venv_bin: "/opt/tempest_{{ tempest_venv_tag }}/bin"
tempest_log_dir: "/var/log/"
tempest_main_group: keystone_all
tempest_service_available_aodh: False
@ -51,4 +54,3 @@ tempest_service_available_horizon: False
tempest_service_available_neutron: False
tempest_service_available_nova: False
tempest_service_available_swift: False
tempest_venv_tag: "{{ tempest_git_install_branch }}"