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:
parent
5ba6678244
commit
930d395d7d
@ -217,6 +217,7 @@ class ManilaCharm(charms_openstack.charm.HAOpenStackCharm):
|
||||
('6', 'queens'),
|
||||
('7', 'rocky'),
|
||||
('8', 'stein'),
|
||||
('9', 'train'),
|
||||
]),
|
||||
}
|
||||
|
||||
|
12
src/tests/gate-basic-bionic-train
Executable file
12
src/tests/gate-basic-bionic-train
Executable 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()
|
@ -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!)
|
||||
|
Loading…
Reference in New Issue
Block a user