Enable functional tests for train

This patch also updates the smoke test to run train.

Change-Id: I39938b2cd0f08536ff98314cfda256675f17cdc4
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2019-10-21 09:09:02 +02:00
parent b7526d1b6c
commit a4a7488f67
2 changed files with 25 additions and 1 deletions

24
tests/gate-basic-bionic-train Executable file
View File

@ -0,0 +1,24 @@
#!/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.
"""Amulet tests on a basic ceilometer-agent deployment on bionic-train."""
from basic_deployment import CeiloAgentBasicDeployment
if __name__ == '__main__':
deployment = CeiloAgentBasicDeployment(series='bionic',
openstack='cloud:bionic-train')
deployment.run_tests()

View File

@ -105,7 +105,7 @@ basepython = python2.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
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]
# Charm Functional Test