trello 334 - Resource created, 050_bmp_basic.robot suite changed
[integration/test.git] / csit / suites / bgpcep / bgpfunct / 050_bmp_basic.robot
index 7a9f8a31d610ae6d5afe905760d1219e43cbfcfa..e4239c60cd54131b2cf44be7b3693d4387472e8e 100644 (file)
@@ -20,10 +20,12 @@ Suite Setup       Set_It_Up
 Suite Teardown    Tear_It_Down
 Library           SSHLibrary
 Library           RequestsLibrary
+Resource          ${CURDIR}/../../../libraries/CompareStream.robot
 Resource          ${CURDIR}/../../../libraries/NexusKeywords.robot
 Resource          ${CURDIR}/../../../libraries/Utils.robot
 Resource          ${CURDIR}/../../../libraries/TemplatedRequests.robot
 
+
 *** Variables ***
 ${CONFIG_SESSION}    config-session
 ${BGP_BMP_DIR}    ${CURDIR}/../../../variables/bgpfunctional/bmp_basic
@@ -36,9 +38,10 @@ Start_Bmp_Mock
     BuiltIn.Log    ${command}
     SSHLibrary.Set_Client_Configuration    timeout=30s
     SSHLibrary.Write    ${command}
-    ${until_phrase}=    BuiltIn.Set_Variable_If    "${ODL_STREAM}"=="beryllium"    sucesfully established.    successfully established.
+    ${until_phrase}=    CompareStream.Set_Variable_If_At_Least_Boron       successfully established.    sucesfully established.
     SSHLibrary.Read_Until    ${until_phrase}
 
+
 Verify Data Reported
     [Documentation]    Verifies if the tool reported expected data
     &{mapping}    BuiltIn.Create_Dictionary    TOOL_IP=${TOOLS_SYSTEM_IP}