Enable functional tests for train

This patch also updates the smoke test to run train.

Change-Id: I82729f83e846976908fb7446c150c57a9eb3fdad
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2019-10-23 15:51:41 +02:00
parent 12d9c42efc
commit 6084431609
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
"""Amulet tests on a basic barbican deployment on bionic-train for keystone v2.
"""
from basic_deployment import ManilaGenericBasicDeployment
if __name__ == '__main__':
deployment = ManilaGenericBasicDeployment(series='bionic', keystone_version='3',
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!)