Switch to neutron-tempest-plugin for tempest tests
* https://review.openstack.org/519310 syncs the code from neutron project to neutron-tempest-plugin repo and it is better to depend on new one inorder to avoid the breakage. Change-Id: Icf3ec7c186f45e86d602d5bc8754b91ddab47732
This commit is contained in:
parent
5c97c2bc2e
commit
bc7b1bf795
@ -22,6 +22,7 @@
|
||||
- openstack-infra/devstack-gate
|
||||
- openstack/neutron
|
||||
- openstack/tempest
|
||||
- openstack/neutron-tempest-plugin
|
||||
|
||||
- job:
|
||||
name: neutron-vpnaas-dsvm-functional-sswan
|
||||
|
@ -33,7 +33,7 @@ As a tempest plugin, the steps to run tests by hands are:
|
||||
+----------------------+--------------------------------------------------------+
|
||||
| Name | EntryPoint |
|
||||
+----------------------+--------------------------------------------------------+
|
||||
| neutron_tests | neutron.tests.tempest.plugin:NeutronTempestPlugin |
|
||||
| neutron_tests | neutron_tempest_plugin.plugin:NeutronTempestPlugin |
|
||||
| neutron_vpnaas_tests | neutron_vpnaas.tests.tempest.plugin:VPNTempestPlugin |
|
||||
+----------------------+--------------------------------------------------------+
|
||||
|
||||
|
@ -16,8 +16,8 @@
|
||||
|
||||
from tempest.lib.common.utils import data_utils
|
||||
|
||||
from neutron.tests.tempest.api import base
|
||||
from neutron.tests.tempest import config
|
||||
from neutron_tempest_plugin.api import base
|
||||
from neutron_tempest_plugin import config
|
||||
|
||||
from neutron_vpnaas.tests.tempest.api import clients
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from neutron.tests.tempest.api import clients as manager
|
||||
from neutron.tests.tempest import config
|
||||
from neutron.tests.tempest.services.network.json import network_client
|
||||
from neutron_tempest_plugin.api import clients as manager
|
||||
from neutron_tempest_plugin import config
|
||||
from neutron_tempest_plugin.services.network.json import network_client
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -19,7 +19,7 @@ from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as lib_exc
|
||||
from tempest import test
|
||||
|
||||
from neutron.tests.tempest import config
|
||||
from neutron_tempest_plugin import config
|
||||
|
||||
from neutron_vpnaas.tests.tempest.api import base
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from neutron.tests.tempest.scenario import base
|
||||
from neutron_tempest_plugin.scenario import base
|
||||
|
||||
from neutron_vpnaas.tests.tempest.api import base as base_api
|
||||
|
||||
|
@ -21,8 +21,8 @@ from tempest.lib.common import ssh
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib import decorators
|
||||
|
||||
from neutron.tests.tempest import config
|
||||
from neutron.tests.tempest.scenario import constants
|
||||
from neutron_tempest_plugin import config
|
||||
from neutron_tempest_plugin.scenario import constants
|
||||
|
||||
from neutron_vpnaas.tests.tempest.scenario import base
|
||||
|
||||
|
@ -23,6 +23,18 @@
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -e
|
||||
set -x
|
||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||
[[local|localrc]]
|
||||
enable_plugin neutron-tempest-plugin git://git.openstack.org/openstack/neutron-tempest-plugin
|
||||
EOF
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -e
|
||||
@ -32,6 +44,7 @@
|
||||
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_vpnaas\."
|
||||
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export PROJECTS="openstack/neutron-tempest-plugin $PROJECTS"
|
||||
export BRANCH_OVERRIDE=default
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
|
Loading…
x
Reference in New Issue
Block a user