From 68dbfb326dbfa6086ebfd36736250021b20ed5f7 Mon Sep 17 00:00:00 2001 From: Cristina Pauna Date: Tue, 7 Mar 2017 19:48:34 +0200 Subject: 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 --- functest/opnfv_tests/openstack/snaps/smoke.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'functest') 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) -- cgit 1.2.3-korg