Fix prometheus port for inside stack tests 00/9200/1
authorFelipe Vicens <felipe.vicens@atos.net>
Fri, 26 Jun 2020 14:23:34 +0000 (16:23 +0200)
committerFelipe Vicens <felipe.vicens@atos.net>
Fri, 26 Jun 2020 14:23:34 +0000 (16:23 +0200)
Change-Id: Id57a6e90a209fa166605a4ad1e148fb96d88aa3b
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
robot-systest/resources/basic_01-crud_operations_on_vim_targets_data.py

index 0b119d8..58c0382 100644 (file)
@@ -17,9 +17,10 @@ from pathlib import Path
 # Prometheus host and port
 if os.environ.get("PROMETHEUS_HOSTNAME", False):
     prometheus_host = os.environ.get("PROMETHEUS_HOSTNAME")
+    prometheus_port = "9090"
 else:
     prometheus_host = os.environ.get("OSM_HOSTNAME")
-prometheus_port = "9091"
+    prometheus_port = "9091"
 
 # VIM Configuration
 vim_account_type = "openstack"