From: Luis Gomez Date: Sat, 11 Jul 2020 00:32:47 +0000 (-0700) Subject: Fix BGPCEP ingest test X-Git-Tag: pre-potassium~174 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=9336383f0f2e0edd99995a763e145b0d79d8c74a;hp=39de3404b2681d425af82a66f7f665ecd4a2da3a;p=integration%2Ftest.git Fix BGPCEP ingest test Python3 floor division is // Change-Id: Id4a730a6464234f5f902069f5d684435ae2a9426 Signed-off-by: Luis Gomez --- diff --git a/csit/suites/bgpcep/bgpingest/manypeers_peercount.robot b/csit/suites/bgpcep/bgpingest/manypeers_peercount.robot index adb89e4463..dd217c008e 100644 --- a/csit/suites/bgpcep/bgpingest/manypeers_peercount.robot +++ b/csit/suites/bgpcep/bgpingest/manypeers_peercount.robot @@ -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