From: Mike Marchetti Date: Thu, 12 Oct 2017 15:29:38 +0000 (-0400) Subject: update max wait time for vnf/ns X-Git-Tag: v3.0.0rc11~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8d38950dbdd0459d78fef2c594236e03d7945e66;p=osm%2Fdevops.git update max wait time for vnf/ns Signed-off-by: Mike Marchetti --- diff --git a/systest/testcases/vnfs/test_vnfs.py b/systest/testcases/vnfs/test_vnfs.py index d8727155..d32fc718 100644 --- a/systest/testcases/vnfs/test_vnfs.py +++ b/systest/testcases/vnfs/test_vnfs.py @@ -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)