From: garciadeblas Date: Thu, 6 Jun 2019 15:57:15 +0000 (+0200) Subject: debug bug 710: increased wait_time to 30s for init status X-Git-Tag: v6.0.0~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=391a3268e11677c83f5321efdc9d22ca6090aed1;p=osm%2Fdevops.git debug bug 710: increased wait_time to 30s for init status Change-Id: I10565f4d63708346a23f9124c931830cb25f86f4 Signed-off-by: garciadeblas --- diff --git a/systest/testcases/vnfs/test_vnfs.py b/systest/testcases/vnfs/test_vnfs.py index cb025ef6..6096a544 100644 --- a/systest/testcases/vnfs/test_vnfs.py +++ b/systest/testcases/vnfs/test_vnfs.py @@ -90,7 +90,7 @@ class TestClass(object): assert osm.get_api().ns.create(nsd_desc['name'],ns_name,vim.vim_name) - if not utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='init', wait_time=10): + if not utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='init', wait_time=30): nsr=osm.get_api().ns.get(ns_name) pprint.pprint(nsr) assert Fail, "operational-status != init" @@ -119,7 +119,7 @@ class TestClass(object): #wait for the ns to delete try: - utils.wait_for_value( lambda: osm.get_api().ns.get(nsd_desc['name']), result=False, wait_time=180) + utils.wait_for_value( lambda: osm.get_api().ns.get(ns_name), result=False, wait_time=180) except: pass