Enable functional tests for bionic-train

This patch also updates the smoke test to run bionic-train.

Change-Id: I2873ab63d563c789213110376159c04d50b047b8
This commit is contained in:
Corey Bryant 2019-10-22 15:07:47 -04:00
parent ed8a506b7a
commit 3c41001d0f
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2016 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 Gnocchi Charm deployment on bionic-train."""
from basic_deployment import GnocchiCharmDeployment
if __name__ == '__main__':
deployment = GnocchiCharmDeployment(series='bionic',
openstack='cloud:bionic-train')
deployment.run_tests()

View File

@ -43,7 +43,7 @@ commands =
# Run a specific test as an Amulet smoke test (expected to always pass)
basepython = python2.7
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]
# Run all development test targets which are +x (may not always pass!)