Using updated tempest method for keystone.

Change-Id: I51c847ea987eef807e5d44a497410249a143b6bd
This commit is contained in:
Donovan Francesco (drifterza) 2016-11-17 14:36:29 +02:00
parent 56b547eb2d
commit 1766414799
4 changed files with 30 additions and 21 deletions

6
.gitignore vendored
View File

@ -62,10 +62,8 @@ releasenotes/build
# Test temp files
tests/plugins
tests/playbooks
tests/test.retry
tests/common
tests/*.retry
# Vagrant artifacts
.vagrant

View File

@ -0,0 +1,27 @@
---
# Copyright 2016 Internet Solutions (Pty) Ltd
#
# 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.
#
# (c) 2016 Donovan Francesco <donovan.francesco@is.co.za>
# (c) 2016 Paul Stevens <paul.stevens@is.co.za>
tempest_run: yes
tempest_plugins:
- name: keystone
repo: https://git.openstack.org/openstack/keystone
branch: master
tempest_test_whitelist:
- keystone_tempest_plugin.tests.api.identity*

View File

@ -71,19 +71,3 @@
vars_files:
- common/test-vars.yml
# Run tempest identity tests on one keystone host.
- name: Playbook for functional testing keystone
hosts: keystone_all[0]
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} '^tempest.api.identity.*'
environment:
RUN_TEMPEST_OPTS: "--serial"
vars_files:
- common/test-vars.yml

View File

@ -28,7 +28,7 @@
# Install Keystone
- include: common/test-install-keystone.yml
# Install Tempest
# Install and execute Tempest
- include: common/test-install-tempest.yml
# Test Keystone