Fix bgp_route_refresh line ending 45/77945/2
authorTomas Markovic <tomas.markovic@pantheon.tech>
Mon, 19 Nov 2018 13:16:03 +0000 (14:16 +0100)
committerVenkatrangan Govindarajan <venkatrangang@hcl.com>
Tue, 20 Nov 2018 06:23:29 +0000 (06:23 +0000)
Karaf cli line ending is now updated even on oxygen.
Change test to reflect these changes.

Change-Id: Id80209750572e1f49649b53bd8b0b77d3b6ffee1
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
csit/suites/bgpcep/bgpfunct/040_bgp_functional_route_ref.robot
csit/variables/bgpfunctional/route_refresh/operational_cli/update.txt

index b878f86a5a046b5586ced28323e069a388bfa86b..4b1766800d886bda7b7f98156d534c4a60e70ff8 100644 (file)
@@ -163,8 +163,6 @@ Verify_Cli_Output_Count
     ...    odl-bgpcep-bgp-cli is only avaiable on versions oxygen and above.
     ${output}    KarafKeywords.Safe_Issue_Command_On_Karaf_Console    bgp:operational-state -rib example-bgp-rib -neighbor ${TOOLS_SYSTEM_IP}
     BuiltIn.Log    ${output}
-    ${line_ending} =    CompareStream.Set_Variable_If_At_Least_Fluorine    ${EMPTY}    \r
-    &{mapping}    BuiltIn.Create_Dictionary    IP=${TOOLS_SYSTEM_IP}    NOT_COUNT=${notification_count}    UPD_COUNT=${update_count}    DIVIDER=│    LNE=${line_ending}
-    ...    RCV_COUNT=${receive_count}
+    &{mapping}    BuiltIn.Create_Dictionary    IP=${TOOLS_SYSTEM_IP}    NOT_COUNT=${notification_count}    UPD_COUNT=${update_count}    DIVIDER=│    RCV_COUNT=${receive_count}
     ${expstate}    TemplatedRequests.Resolve_Text_From_Template_File    folder=${BGP_RR_VAR_FOLDER}/operational_cli    file_name=update.txt    mapping=${mapping}
     BuiltIn.Should_Contain    ${output}    ${expstate}
index 52802fe17a559046ddd036977f95b3f4ccda616c..c4153b81f1d7408b8d9c6d7ba4d95ed9f151f666 100644 (file)
@@ -1,8 +1,8 @@
-Messages state         $DIVIDER$LNE
-====================== $DIVIDER$LNE
-Messages Received      $DIVIDER$LNE
-NOTIFICATION           $DIVIDER $NOT_COUNT$LNE
-UPDATE                 $DIVIDER $UPD_COUNT$LNE
-Messages Sent          $DIVIDER$LNE
-NOTIFICATION           $DIVIDER 0$LNE
+Messages state         $DIVIDER
+====================== $DIVIDER
+Messages Received      $DIVIDER
+NOTIFICATION           $DIVIDER $NOT_COUNT
+UPDATE                 $DIVIDER $UPD_COUNT
+Messages Sent          $DIVIDER
+NOTIFICATION           $DIVIDER 0
 UPDATE                 $DIVIDER $RCV_COUNT