From 4eb8a56fb12a5e837a63fb2344ad6547ffec0785 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 8 Mar 2017 12:07:28 +0000 Subject: [PATCH] Update test set and use test plugins Previously the test set used was the default set in the os_tempest role, which are scenario tests. Those tests cannot run without more services deployed. This patch implements the use of API tests and the tempest plugins from the Neutron repository. Additionally, the postgresql library is removed as it is no longer required. Change-Id: I4710511d7824ad031cafb4dac5521c0b1b34931e --- tests/os_neutron-overrides.yml | 24 ++++++++++++++++++++++++ vars/redhat-7.yml | 1 - vars/ubuntu-16.04.yml | 1 - 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 tests/os_neutron-overrides.yml diff --git a/tests/os_neutron-overrides.yml b/tests/os_neutron-overrides.yml new file mode 100644 index 00000000..1363fd34 --- /dev/null +++ b/tests/os_neutron-overrides.yml @@ -0,0 +1,24 @@ +--- +# Copyright 2017, 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. + +tempest_run: yes + +tempest_plugins: + - name: neutron + repo: https://git.openstack.org/openstack/neutron + branch: master + +tempest_test_whitelist: + - neutron.tests.tempest.api.test_networks* diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index a423ee29..4371f2cf 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -26,7 +26,6 @@ neutron_distro_packages: - ipset - iputils - keepalived - - libpqxx-devel - radvd - which diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml index 807e1bcb..1307001c 100644 --- a/vars/ubuntu-16.04.yml +++ b/vars/ubuntu-16.04.yml @@ -33,7 +33,6 @@ neutron_distro_packages: - ipset - iputils-arping - keepalived - - libpq-dev - radvd neutron_lxb_distro_packages: