diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-10-17 09:25:06 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-10-17 13:48:18 +0000 |
commit | 613c672ac166ca92ce1284131ec06446e07e0023 (patch) | |
tree | 4a13cefdbcf0a888789e032d7e680f972ddf1b9f /functest/opnfv_tests/openstack/rally/rally.py | |
parent | 969e4500ad7fe516b1d89d97d36c4a6d851fb6c6 (diff) |
Update blacklist about migration tests for rally
The test NovaServers.boot_and_migrate_server needs at least 2 compute
nodes:
https://github.com/openstack/rally/blob/stable/0.9/rally/plugins/openstack/scenarios/nova/servers.py#L763-L765
Change-Id: I4ddf99188094ced57225d886037b00e91f3b68e6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/rally/rally.py')
-rw-r--r-- | functest/opnfv_tests/openstack/rally/rally.py | 8 |
1 files changed, 4 insertions, 4 deletions
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']: |