[Functest] Exclude vnf tests for virtual deployments 89/41989/2
authorJoseLausuch <lausso@Joses-iMac.local>
Thu, 14 Sep 2017 15:54:11 +0000 (17:54 +0200)
committerJoseLausuch <lausso@Joses-iMac.local>
Thu, 14 Sep 2017 15:59:55 +0000 (17:59 +0200)
VNF test cases take long time when executed in
virtual deployments, mainly due to the resources
assigned to the virtual hosts.

Change-Id: Id0591e6217515b04fe163488a89667ac66c06cdd
Signed-off-by: JoseLausuch <lausso@Joses-iMac.local>
jjb/functest/functest-alpine.sh

index 33a64a4..8caf19e 100755 (executable)
@@ -71,7 +71,11 @@ set +e
 if [ ${FUNCTEST_SUITE_NAME} == 'healthcheck' ]; then
     tiers=(healthcheck)
 else
-    tiers=(healthcheck smoke features vnf)
+    if [ ${DEPLOY_TYPE} == 'baremetal' ]; then
+        tiers=(healthcheck smoke features vnf)
+    else
+        tiers=(healthcheck smoke features)
+    fi
 fi
 
 cmd_opt='prepare_env start && run_tests -r -t all'