aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/vnf/vIMS/vIMS.py
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2016-08-03 11:17:10 +0200
committerboucherv <valentin.boucher@orange.com>2016-08-03 11:34:23 +0200
commit9f7f322f30921ecdc4c2f7e4b2e7a147ed9a6712 (patch)
tree1234449068c8d809f38cb6f52d9a1c6bdc7ec152 /testcases/vnf/vIMS/vIMS.py
parent560ab3f2117181dee4a6eb32b3c8a093ca46afc0 (diff)
functest utils - get_resolvconf_ns() Ensure that dns works with dns name resolution
JIRA: FUNCTEST-402 Change-Id: I5fa9204aafb13330eb810950aa7bc728f1a69162 Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'testcases/vnf/vIMS/vIMS.py')
-rwxr-xr-xtestcases/vnf/vIMS/vIMS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/vnf/vIMS/vIMS.py b/testcases/vnf/vIMS/vIMS.py
index 790bfa0cc..dfbb6759c 100755
--- a/testcases/vnf/vIMS/vIMS.py
+++ b/testcases/vnf/vIMS/vIMS.py
@@ -441,9 +441,9 @@ def main():
flavor_name = "m1.small"
flavor_id = os_utils.get_flavor_id(nova, flavor_name)
for requirement in CW_REQUIERMENTS:
- if requirement == 'ram_min':
+ if requirement == 'ram_min' and flavor_id == '':
flavor_id = os_utils.get_flavor_id_by_ram_range(
- nova, CW_REQUIERMENTS['ram_min'], 8196)
+ nova, CW_REQUIERMENTS['ram_min'], 4500)
if flavor_id == '':
logger.error(