Enable functional tests for train

This patch also updates the smoke test to run train.

Change-Id: I0a5c2a42d34bd4df209996a136c87dd04cd1d0d6
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2019-10-24 06:45:06 +00:00
parent 7ca8eaea0a
commit 1866b5461c
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
"""Amulet tests on a basic tempest deployment on bionic-train."""
from basic_deployment import TempestBasicDeployment
if __name__ == '__main__':
# Tempest is installed through pip so cloud archive is not needed here
deployment = TempestBasicDeployment(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!)