From: garciadeblas Date: Wed, 27 Jan 2021 10:31:56 +0000 (+0000) Subject: Fix bug 1421: use of 'GET On Session instead' instead of 'Get Request' X-Git-Tag: branch-sol006v331-start~26 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F10222%2F1;p=osm%2Ftests.git Fix bug 1421: use of 'GET On Session instead' instead of 'Get Request' Change-Id: I64d0b00aba255ab0a84be6f1d5ab5a0c063b5df0 Signed-off-by: garciadeblas --- diff --git a/robot-systest/lib/prometheus_lib.robot b/robot-systest/lib/prometheus_lib.robot index d4c6b14..e133c2a 100644 --- a/robot-systest/lib/prometheus_lib.robot +++ b/robot-systest/lib/prometheus_lib.robot @@ -19,7 +19,7 @@ Library RequestsLibrary *** Variables *** -${timeout} 1000 +${timeout} 30 ${max_retries} 1 @@ -55,6 +55,6 @@ Execute Prometheus Instant Query [Arguments] ${prometheus_ip} ${prometheus_port} ${querystring} Create Session prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} - ${resp}= Get Request prometheus /api/v1/query?${querystring} timeout=${timeout} + ${resp}= GET On Session prometheus /api/v1/query?${querystring} timeout=${timeout} Status Should Be 200 ${resp} [Return] ${resp.json()}