Enable functional tests for train
This patch also updates the smoke test to run train. Change-Id: Ie1e4bb54f4c5c0f7af2c23b2184c0a599dc108c2 Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
parent
936e543094
commit
103c1b4b32
|
@ -0,0 +1,26 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
#
|
||||||
|
# Copyright 2019 Canonical 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.
|
||||||
|
|
||||||
|
# NeutronOVSBasicDeployment
|
||||||
|
"""Amulet tests on a basic neutron-openvswitch deployment on bionic-train."""
|
||||||
|
|
||||||
|
from basic_deployment import NeutronOVSBasicDeployment
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
deployment = NeutronOVSBasicDeployment(series='bionic',
|
||||||
|
openstack='cloud:bionic-train',
|
||||||
|
source='cloud:bionic-train')
|
||||||
|
deployment.run_tests()
|
2
tox.ini
2
tox.ini
|
@ -105,7 +105,7 @@ basepython = python2.7
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-stein --no-destroy
|
bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-train --no-destroy
|
||||||
|
|
||||||
[testenv:func-dev]
|
[testenv:func-dev]
|
||||||
# Charm Functional Test
|
# Charm Functional Test
|
||||||
|
|
Loading…
Reference in New Issue