Fix BGPCEP ingest test 17/91217/2
authorLuis Gomez <ecelgp@gmail.com>
Sat, 11 Jul 2020 00:32:47 +0000 (17:32 -0700)
committerJamo Luhrsen <jluhrsen@gmail.com>
Mon, 13 Jul 2020 21:09:35 +0000 (21:09 +0000)
Python3 floor division is //

Change-Id: Id4a730a6464234f5f902069f5d684435ae2a9426
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/suites/bgpcep/bgpingest/manypeers_peercount.robot

index adb89e44632188df4ea86fd6a6f3503efca27123..dd217c008e666127cc80cfb9cf87c32954c61f3a 100644 (file)
@@ -97,7 +97,7 @@ Check_Logs_For_Updates
     ${timeout} =    BuiltIn.Set_Variable    ${bgp_filling_timeout}
     FOR    ${index}    IN RANGE    1    ${MULTIPLICITY_PREFIX_COUNT_MANY_RRC}+1
         ${bgp_peer_label} =    BuiltIn.Set_Variable    BGP-Dummy-${index}
-        ${expected_prefixcount} =    BuiltIn.Evaluate    ${COUNT_PREFIX_COUNT_MANY_RRC} - ${COUNT_PREFIX_COUNT_MANY_RRC} / ${MULTIPLICITY_PREFIX_COUNT_MANY_RRC}
+        ${expected_prefixcount} =    BuiltIn.Evaluate    ${COUNT_PREFIX_COUNT_MANY_RRC} - ${COUNT_PREFIX_COUNT_MANY_RRC} // ${MULTIPLICITY_PREFIX_COUNT_MANY_RRC}
         ${expected_string} =    BuiltIn.Set_Variable    total_received_nlri_prefix_counter: ${expected_prefixcount}
         BuiltIn.Wait_Until_Keyword_Succeeds    ${timeout}    1s    Check_File_For_Occurence    ${BGP_PEERS_LOG_FILE_NAME}    ${bgp_peer_label}
         ...    ${expected_string}    2