Execute tempest using updated method
The old method of executing tempest via run_tempest.sh from the root of the git clone has been deprecated and will soon be removed. Change-Id: I13a43cf52dc06daf66165191b981c8029bfc26b8
This commit is contained in:
parent
95d70dbf25
commit
36128c1e89
@ -1,11 +1,14 @@
|
||||
---
|
||||
tempest_main_group: magnum_all
|
||||
tempest_run: yes
|
||||
|
||||
tempest_plugins:
|
||||
- name: magnum
|
||||
repo: https://git.openstack.org/openstack/magnum
|
||||
branch: master
|
||||
|
||||
tempest_test_whitelist:
|
||||
- magnum.tests.functional.api.v1.test_cluster.ClusterTest.test_create_cluster*
|
||||
|
||||
tempest_flavors:
|
||||
- name: m1.magnum
|
||||
id: 100
|
||||
|
@ -1,30 +0,0 @@
|
||||
---
|
||||
# Copyright 2016, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Playbook for functional testing of magnum
|
||||
hosts: magnum_all
|
||||
user: root
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Run tempest
|
||||
shell: |
|
||||
. {{ tempest_venv_bin }}/activate
|
||||
{{ tempest_venv_bin | dirname }}/run_tempest.sh --no-virtual-env ${RUN_TEMPEST_OPTS} \
|
||||
magnum.tests.functional.api.v1.test_cluster.ClusterTest.test_create_cluster*
|
||||
environment:
|
||||
RUN_TEMPEST_OPTS: "--serial"
|
||||
vars_files:
|
||||
- common/test-vars.yml
|
||||
- magnum-test-vars.yml
|
@ -53,8 +53,5 @@
|
||||
# Install magnum
|
||||
- include: test-install-magnum.yml
|
||||
|
||||
# Install tempest
|
||||
# Install and execute tempest
|
||||
- include: common/test-install-tempest.yml
|
||||
|
||||
# Test magnum
|
||||
- include: test-magnum-functional.yml
|
||||
|
Loading…
Reference in New Issue
Block a user