aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/snaps/smoke.py
diff options
context:
space:
mode:
authorCristina Pauna <cristina.pauna@enea.com>2017-03-07 19:48:34 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2017-03-08 16:28:25 +0000
commit68dbfb326dbfa6086ebfd36736250021b20ed5f7 (patch)
treeb5133b279f247a84c9b12ada1de3c8887203da5b /functest/opnfv_tests/openstack/snaps/smoke.py
parent243adb72c43fdf80228a46e9aaac9019a782415f (diff)
Aarch64 adaption in functest for snaps smoke
This commit sends the aarch64 custom config to the snaps integration tests. Since these are the same as the snaps healthcheck, no additional values were added to config_aarch64_patch.yaml Change-Id: I5f2302a3c65d47ec8fca661888268489e2c6ba35 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/smoke.py')
-rw-r--r--functest/opnfv_tests/openstack/snaps/smoke.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/smoke.py b/functest/opnfv_tests/openstack/snaps/smoke.py
index 4b8ba7d1..864bca5e 100644
--- a/functest/opnfv_tests/openstack/snaps/smoke.py
+++ b/functest/opnfv_tests/openstack/snaps/smoke.py
@@ -28,6 +28,12 @@ class SnapsSmoke(SnapsTestRunner):
self.case_name = "snaps_smoke"
use_fip = CONST.snaps_use_floating_ips
+ # The snaps smoke test uses the same config as the
+ # snaps_health_check suite, so reuse it here
+ image_custom_config = None
+ if hasattr(CONST, 'snaps_health_check'):
+ image_custom_config = CONST.snaps_health_check
+
# Tests requiring floating IPs leverage files contained within the
# SNAPS repository and are found relative to that path
if use_fip:
@@ -39,4 +45,5 @@ class SnapsSmoke(SnapsTestRunner):
CONST.openstack_creds,
self.ext_net_name,
use_keystone=CONST.snaps_use_keystone,
+ image_metadata=image_custom_config,
use_floating_ips=use_fip)