From: Felipe Vicens Date: Fri, 26 Jun 2020 14:23:34 +0000 (+0200) Subject: Fix prometheus port for inside stack tests X-Git-Tag: release-v9.0-start~52 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=72556ca8d5a07199c182a586688bbebe8cf1cfad;p=osm%2Ftests.git Fix prometheus port for inside stack tests Change-Id: Id57a6e90a209fa166605a4ad1e148fb96d88aa3b Signed-off-by: Felipe Vicens --- diff --git a/robot-systest/resources/basic_01-crud_operations_on_vim_targets_data.py b/robot-systest/resources/basic_01-crud_operations_on_vim_targets_data.py index 0b119d8..58c0382 100644 --- a/robot-systest/resources/basic_01-crud_operations_on_vim_targets_data.py +++ b/robot-systest/resources/basic_01-crud_operations_on_vim_targets_data.py @@ -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"