Temporarily disable VNC tests 47/64047/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 26 Oct 2018 07:11:02 +0000 (09:11 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 26 Oct 2018 07:15:02 +0000 (09:15 +0200)
At least Compass and Fuel configure Spice as console [1][2].
It disables vnc testing as it could fail for endusers as well.

[1] https://artifacts.opnfv.org/logs/functest/huawei-virtual9/2018-10-24_04-54-25/tempest_full/tempest-report.html
[2] https://artifacts.opnfv.org/logs/functest/lf-pod2/gambia/2018-10-25_05-57-54/tempest_full/tempest-report.html

Change-Id: I2a1ecf345cb81170c1b1a3e49f8f3a58602fc3f0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit df9d5c5d3b80b613130de59a1810f7fce9cbbc0d)

functest/opnfv_tests/openstack/tempest/conf_utils.py

index b4d7ad7..9ffbae4 100644 (file)
@@ -221,6 +221,9 @@ def configure_tempest_update_params(
     rconfig.set('identity', 'default_domain_id', domain_id)
     rconfig.set('identity-feature-enabled', 'api_v2', False)
     rconfig.set('identity-feature-enabled', 'api_v2_admin', False)
+    if not rconfig.has_section('compute-feature-enabled'):
+        rconfig.add_section('compute-feature-enabled')
+    rconfig.set('compute-feature-enabled', 'vnc_console', False)
     if not rconfig.has_section('image-feature-enabled'):
         rconfig.add_section('image-feature-enabled')
     rconfig.set('image-feature-enabled', 'api_v2', True)