Skip to content
Snippets Groups Projects
Commit 8d38950d authored by Mike Marchetti's avatar Mike Marchetti
Browse files

update max wait time for vnf/ns


Signed-off-by: default avatarMike Marchetti <mmarchetti@sandvine.com>
parent 2b951281
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class TestClass(object):
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='vnf-init-phase')
# make sure ns is running
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='running',wait_time=120)
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='running',wait_time=240)
if ns_scale:
# for each descriptor, scale it
......@@ -98,10 +98,12 @@ class TestClass(object):
assert not osm.get_api().ns.scale(ns_name, scale['name'], 1)
# ensure ns is scaling-out
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='scaling-out',wait_time=120)
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='scaling-out',wait_time=240)
# wait for ns to be in running-state
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='running',wait_time=120)
assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='running',wait_time=240)
time.sleep(10)
assert not osm.get_api().ns.delete(ns_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment