diff options
Diffstat (limited to 'functest/opnfv_tests/openstack/rally')
-rw-r--r-- | functest/opnfv_tests/openstack/rally/blacklist.txt | 3 | ||||
-rw-r--r-- | functest/opnfv_tests/openstack/rally/rally.py | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/functest/opnfv_tests/openstack/rally/blacklist.txt b/functest/opnfv_tests/openstack/rally/blacklist.txt index cdb5be66..13d8fc5f 100644 --- a/functest/opnfv_tests/openstack/rally/blacklist.txt +++ b/functest/opnfv_tests/openstack/rally/blacklist.txt @@ -53,8 +53,9 @@ scenario: functionality: - functions: - - no_live_migration + - no_migration tests: - NovaServers.boot_and_live_migrate_server - NovaServers.boot_server_attach_created_volume_and_live_migrate - NovaServers.boot_server_from_volume_and_live_migrate + - NovaServers.boot_and_migrate_server diff --git a/functest/opnfv_tests/openstack/rally/rally.py b/functest/opnfv_tests/openstack/rally/rally.py index c295b05a..fd251899 100644 --- a/functest/opnfv_tests/openstack/rally/rally.py +++ b/functest/opnfv_tests/openstack/rally/rally.py @@ -203,8 +203,8 @@ class RallyBase(testcase.TestCase): return True - def _live_migration_supported(self): - """Determine if live migration is supported.""" + def _migration_supported(self): + """Determine if migration is supported.""" if self.compute_cnt > 1: return True @@ -274,8 +274,8 @@ class RallyBase(testcase.TestCase): with open(RallyBase.BLACKLIST_FILE, 'r') as black_list_file: black_list_yaml = yaml.safe_load(black_list_file) - if not self._live_migration_supported(): - func_list.append("no_live_migration") + if not self._migration_supported(): + func_list.append("no_migration") if 'functionality' in black_list_yaml.keys(): for item in black_list_yaml['functionality']: |