From 72556ca8d5a07199c182a586688bbebe8cf1cfad Mon Sep 17 00:00:00 2001 From: Felipe Vicens Date: Fri, 26 Jun 2020 16:23:34 +0200 Subject: [PATCH] Fix prometheus port for inside stack tests Change-Id: Id57a6e90a209fa166605a4ad1e148fb96d88aa3b Signed-off-by: Felipe Vicens --- .../resources/basic_01-crud_operations_on_vim_targets_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.25.1