summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/utils/tests
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-17 17:15:36 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-18 21:09:48 +0400
commit88c9496ee5d40adbb324c0d449ed1659e661d700 (patch)
tree1959044c2b2a63f312eb993c8da025192162c12c /snaps/openstack/utils/tests
parentdc76020bee7085a3e2e9d1bd94e4ad7904d3b77d (diff)
Add flavor metadata for volume related tests
These tests are very sensitive to the state of instance which might be active in terms of nova, but in fact still trying to get an ip address in case of dpdk scenarios. Change-Id: I739044c2edd360535ce1d3531549263163cfea19 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'snaps/openstack/utils/tests')
-rw-r--r--snaps/openstack/utils/tests/nova_utils_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/snaps/openstack/utils/tests/nova_utils_tests.py b/snaps/openstack/utils/tests/nova_utils_tests.py
index f5df865..881598a 100644
--- a/snaps/openstack/utils/tests/nova_utils_tests.py
+++ b/snaps/openstack/utils/tests/nova_utils_tests.py
@@ -399,7 +399,8 @@ class NovaUtilsInstanceVolumeTests(OSComponentTestCase):
self.flavor_creator = OpenStackFlavor(
self.os_creds,
FlavorConfig(
- name=guid + '-flavor-name', ram=256, disk=10, vcpus=1))
+ name=guid + '-flavor-name', ram=256, disk=10, vcpus=1,
+ metadata=self.flavor_metadata))
self.flavor_creator.create()
# Create Volume