projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add additional configuration check"
[osm/devops.git]
/
systest
/
testcases
/
vnfs
/
test_vnfs.py
diff --git
a/systest/testcases/vnfs/test_vnfs.py
b/systest/testcases/vnfs/test_vnfs.py
index
efbfb10
..
d32fc71
100644
(file)
--- a/
systest/testcases/vnfs/test_vnfs.py
+++ b/
systest/testcases/vnfs/test_vnfs.py
@@
-86,10
+86,10
@@
class TestClass(object):
assert not osm.get_api().ns.create(nsd_desc['name'],ns_name,vim.vim_name)
assert not osm.get_api().ns.create(nsd_desc['name'],ns_name,vim.vim_name)
- assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='
init
')
+ 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
# 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=
12
0)
+ assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='running',wait_time=
24
0)
if ns_scale:
# for each descriptor, scale it
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 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=
12
0)
+ assert utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='scaling-out',wait_time=
24
0)
# wait for ns to be in running-state
# 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)
assert not osm.get_api().ns.delete(ns_name)