aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/openstack/rally/test_rally.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-10-17 09:25:06 +0000
committerLinda Wang <wangwulin@huawei.com>2017-10-17 13:48:18 +0000
commit613c672ac166ca92ce1284131ec06446e07e0023 (patch)
tree4a13cefdbcf0a888789e032d7e680f972ddf1b9f /functest/tests/unit/openstack/rally/test_rally.py
parent969e4500ad7fe516b1d89d97d36c4a6d851fb6c6 (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/tests/unit/openstack/rally/test_rally.py')
-rw-r--r--functest/tests/unit/openstack/rally/test_rally.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/tests/unit/openstack/rally/test_rally.py b/functest/tests/unit/openstack/rally/test_rally.py
index 40aab952..6a85536d 100644
--- a/functest/tests/unit/openstack/rally/test_rally.py
+++ b/functest/tests/unit/openstack/rally/test_rally.py
@@ -167,9 +167,9 @@ class OSRallyTesting(unittest.TestCase):
@mock.patch('__builtin__.open', mock.mock_open())
@mock.patch('functest.opnfv_tests.openstack.rally.rally.yaml.safe_load',
return_value={'functionality': [
- {'functions': ['no_live_migration'], 'tests': ['test']}]})
+ {'functions': ['no_migration'], 'tests': ['test']}]})
@mock.patch('functest.opnfv_tests.openstack.rally.rally.RallyBase.'
- '_live_migration_supported', return_value=False)
+ '_migration_supported', return_value=False)
def test_excl_func_default(self, mock_func, mock_yaml_load):
CONST.__setattr__('INSTALLER_TYPE', 'test_installer')
CONST.__setattr__('DEPLOY_SCENARIO', 'test_scenario')