Run sequentially tempest_heat 63/69963/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 19 Apr 2020 10:48:33 +0000 (12:48 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 19 Apr 2020 11:30:34 +0000 (13:30 +0200)
It's forced by design else it remains a few resources.
It also sets fixed_subnet_name and network_for_ssh to avoid falsy
discovery as it seems [1]

[1] http://artifacts.opnfv.org/functest/X5GDYF3B0R2B/functest-opnfv-functest-smoke-jerma-tempest_heat-run-18/tempest_heat/tempest-report.html

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

docker/smoke/testcases.yaml
functest/ci/testcases.yaml
functest/opnfv_tests/openstack/tempest/tempest.py

index 67b6b54..963ed09 100644 (file)
@@ -67,7 +67,7 @@ tiers:
                     args:
                         mode: '^heat_tempest_plugin.tests'
                         option:
-                            - '--concurrency=4'
+                            - '--concurrency=1'
 
             -
                 case_name: rally_sanity
index 86fd7bd..a42665e 100644 (file)
@@ -245,7 +245,7 @@ tiers:
                     args:
                         mode: '^heat_tempest_plugin.tests'
                         option:
-                            - '--concurrency=4'
+                            - '--concurrency=1'
 
             -
                 case_name: rally_sanity
index 354f3b0..282f894 100644 (file)
@@ -732,6 +732,8 @@ class TempestHeat(TempestCommon):
         rconfig.set('heat_plugin', 'minimal_instance_type', self.flavor.id)
         rconfig.set('heat_plugin', 'floating_network_name', self.ext_net.name)
         rconfig.set('heat_plugin', 'fixed_network_name', self.network.name)
+        rconfig.set('heat_plugin', 'fixed_subnet_name', self.subnet.name)
+        rconfig.set('heat_plugin', 'network_for_ssh', self.network.name)
         with open(self.conf_file, 'w') as config_file:
             rconfig.write(config_file)
         self.backup_tempest_config(self.conf_file, self.res_dir)