projects
/
osm
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added retries and timeout parameters for Prometheus queries
[osm/tests.git]
/
robot-systest
/
resources
/
sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
diff --git
a/robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
b/robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
index
2821a60
..
ef1ee29
100644
(file)
--- a/
robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
+++ b/
robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
@@
-21,6
+21,9
@@
else:
prometheus_host = os.environ.get('OSM_HOSTNAME')
prometheus_port = '9091'
prometheus_host = os.environ.get('OSM_HOSTNAME')
prometheus_port = '9091'
+# Prometheus polling interval and retries
+prometheus_poll_retries = '15 times'
+prometheus_poll_timeout = '1 minute'
# Prometheus metric and threshold
metric_name = 'osm_cpu_utilization'
metric_threshold = 60
# Prometheus metric and threshold
metric_name = 'osm_cpu_utilization'
metric_threshold = 60