Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
devops
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osm
devops
Commits
8d38950d
Commit
8d38950d
authored
7 years ago
by
Mike Marchetti
Browse files
Options
Downloads
Patches
Plain Diff
update max wait time for vnf/ns
Signed-off-by:
Mike Marchetti
<
mmarchetti@sandvine.com
>
parent
2b951281
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
systest/testcases/vnfs/test_vnfs.py
+5
-3
5 additions, 3 deletions
systest/testcases/vnfs/test_vnfs.py
with
5 additions
and
3 deletions
systest/testcases/vnfs/test_vnfs.py
+
5
−
3
View file @
8d38950d
...
...
@@ -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
=
1
20
)
assert
utils
.
wait_for_value
(
lambda
:
osm
.
get_api
().
ns
.
get_field
(
ns_name
,
'
operational-status
'
),
result
=
'
running
'
,
wait_time
=
2
4
0
)
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
=
1
20
)
assert
utils
.
wait_for_value
(
lambda
:
osm
.
get_api
().
ns
.
get_field
(
ns_name
,
'
operational-status
'
),
result
=
'
scaling-out
'
,
wait_time
=
2
4
0
)
# 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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment