Skip to content

Commit

Permalink
Merge "Using updated tempest method for keystone."
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Nov 22, 2016
2 parents 62232eb + 1766414 commit 2417c52
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ releasenotes/build

# Test temp files
tests/plugins
tests/playbooks
tests/test.retry
tests/common
tests/*.retry

# Vagrant artifacts
.vagrant


27 changes: 27 additions & 0 deletions tests/os_keystone-overrides.yml
Original file line number Diff line number Diff line change
@@ -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*
16 changes: 0 additions & 16 deletions tests/test-keystone-functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# Install Keystone
- include: common/test-install-keystone.yml

# Install Tempest
# Install and execute Tempest
- include: common/test-install-tempest.yml

# Test Keystone
Expand Down

0 comments on commit 2417c52

Please sign in to comment.