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:
parent
7ca8eaea0a
commit
1866b5461c
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 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()
|
@ -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