Update Verification of Tunnel Monitoring 61/74561/3
authorSathwik Boggarapu <b.sathwik@ericsson.com>
Fri, 27 Jul 2018 09:25:33 +0000 (14:55 +0530)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 31 Jul 2018 15:26:08 +0000 (15:26 +0000)
In genius/BFD_Monitoring suite, Tunnel monitoring is
being verified as it contains the value as 1000.
Updated it as should be equal to 1000.

Change-Id: I45b5bc9d59065859333de2b42278e81df148072a
Signed-off-by: Sathwik Boggarapu <b.sathwik@ericsson.com>
csit/suites/genius/BFD_monitoring.robot

index 8fba34185aa7bb1ff9c29220bd1e7c95d8f8d781..85e868d9d5d0b8db27d9d7f87ac531dbca92469e 100644 (file)
@@ -58,8 +58,9 @@ BFD_TC01 Verify by default BFD monitoring is enabled on Controller
 
 BFD_TC02 Verify that BFD tunnel monitoring interval is set with appropriate default value i.e.,1000
     [Documentation]    This will verify BFD tunnel monitoring default interval
-    ${output}=    Issue Command On Karaf Console    ${TEP_SHOW}
-    Should Contain    ${output}    ${DEFAULT_MONITORING_INTERVAL}
+    ${output} =    Issue Command On Karaf Console    ${TEP_SHOW}
+    ${tunnel_monitoring} =    Get Lines Containing String    ${output}    Tunnel Monitoring Interval
+    Should Be Equal    ${tunnel_monitoring}    ${DEFAULT_MONITORING_INTERVAL}
     Wait Until Keyword Succeeds    10s    2s    Verify Config Ietf Interface Output    ${INTERFACE_DS_MONI_TRUE}    ${INTERFACE_DS_MONI_INT_1000}    ${TUNNEL_MONI_PROTO}
 
 BFD_TC04 Verify that in controller tunnel status is up when ITM tunnel interface is brought up.