diff options
Diffstat (limited to 'nova/tests/functional/test_servers_provider_tree.py')
-rw-r--r-- | nova/tests/functional/test_servers_provider_tree.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/functional/test_servers_provider_tree.py b/nova/tests/functional/test_servers_provider_tree.py index 0eff6c6bda..da562c4f19 100644 --- a/nova/tests/functional/test_servers_provider_tree.py +++ b/nova/tests/functional/test_servers_provider_tree.py @@ -14,8 +14,8 @@ # under the License. -import mock import os_traits +from unittest import mock from oslo_log import log as logging from oslo_utils.fixture import uuidsentinel as uuids @@ -82,7 +82,7 @@ class ProviderTreeTests(integrated_helpers.ProviderUsageBaseTestCase): }, 'MEMORY_MB': { 'total': 8192, - 'allocation_ratio': 1.5, + 'allocation_ratio': 1.0, 'max_unit': 8192, 'min_unit': 1, 'reserved': 512, @@ -90,7 +90,7 @@ class ProviderTreeTests(integrated_helpers.ProviderUsageBaseTestCase): }, 'VCPU': { 'total': 10, - 'allocation_ratio': 16.0, + 'allocation_ratio': 4.0, 'max_unit': 10, 'min_unit': 1, 'reserved': 0, |