Enable functional tests for train

This patch also updates the smoke test to run train.

Change-Id: I831f54aed558e65b08b0f94c86b4fa2323948cc5
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2019-10-23 15:49:51 +02:00
parent 5ba6678244
commit 930d395d7d
3 changed files with 14 additions and 1 deletions

View File

@ -217,6 +217,7 @@ class ManilaCharm(charms_openstack.charm.HAOpenStackCharm):
('6', 'queens'),
('7', 'rocky'),
('8', 'stein'),
('9', 'train'),
]),
}

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
"""Amulet tests on a basic manila deployment on bionic-train.
"""
from basic_deployment import ManilaBasicDeployment
if __name__ == '__main__':
deployment = ManilaBasicDeployment(series='bionic',
openstack='cloud:bionic-train',
source='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!)