Fixed duplicated prometheus_password argument in keyword 59/12759/1
authoraguilard <e.dah.tid@telefonica.com>
Wed, 30 Nov 2022 07:27:49 +0000 (08:27 +0100)
committercalvinosanc1 <guillermo.calvino@canonical.com>
Wed, 30 Nov 2022 15:34:04 +0000 (16:34 +0100)
Change-Id: I5099d58cf1a880329c1bcaa7198cb47bbb22df88
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
(cherry picked from commit e94b5c55aa3fb236d352b04a3c6269959cfcf54e)

robot-systest/lib/sdnc_lib.robot

index 1089b7c..0a9a20d 100644 (file)
@@ -95,7 +95,7 @@ Get SDNC ID
 
 
 Check If SDNC Is Available
-    [Arguments]   ${sdnc_id}   ${prometheus_host}   ${prometheus_port}   ${prometheus_password}   ${prometheus_user}   ${prometheus_password}
+    [Arguments]   ${sdnc_id}   ${prometheus_host}   ${prometheus_port}   ${prometheus_user}   ${prometheus_password}
 
-    ${metric}=   Get Metric   ${prometheus_host}   ${prometheus_port}   ${prometheus_password}   ${prometheus_user}   ${prometheus_password}   osm_sdnc_status   sdnc_id=${sdnc_id}
+    ${metric}=   Get Metric   ${prometheus_host}   ${prometheus_port}   ${prometheus_user}   ${prometheus_password}   osm_sdnc_status   sdnc_id=${sdnc_id}
     Should Be Equal As Integers   ${metric}   1   msg=SDNC '${sdnc_id}' is not active   values=false