X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fbgpcep%2Fbgpingest%2Fmanypeers_prefixcount.robot;h=072ca3969a236ed2377ab0a3681732c36de9ed50;hb=d9d549a6ef4081096f0d17e57aff1c015e3a5b05;hp=eaec63d0725d1198ebac595e620f0e9d36f08d71;hpb=6da4acd80b1c67a6668ddd6a836772fa733105b2;p=integration%2Ftest.git diff --git a/csit/suites/bgpcep/bgpingest/manypeers_prefixcount.robot b/csit/suites/bgpcep/bgpingest/manypeers_prefixcount.robot index eaec63d072..072ca3969a 100644 --- a/csit/suites/bgpcep/bgpingest/manypeers_prefixcount.robot +++ b/csit/suites/bgpcep/bgpingest/manypeers_prefixcount.robot @@ -41,7 +41,7 @@ Documentation BGP performance of ingesting from many iBGP peers, data change Suite Setup Setup_Everything Suite Teardown Teardown_Everything Test Setup SetupUtils.Setup_Test_With_Logging_And_Fast_Failing -Test Teardown FailFast.Start_Failing_Fast_If_This_Failed +Test Teardown SetupUtils.Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed Library DateTime Library RequestsLibrary Library SSHLibrary timeout=10s @@ -113,6 +113,7 @@ Wait_For_Stable_Talking_Ipv4_Topology Check_Talking_Ipv4_Topology_Count [Documentation] Count the routes in example-ipv4-topology and fail if the count is not correct. [Tags] critical + [Setup] SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing PrefixCounting.Check_Ipv4_Topology_Count ${COUNT_PREFIX_COUNT_MANY} Kill_Talking_BGP_Speakers @@ -121,7 +122,7 @@ Kill_Talking_BGP_Speakers BGPSpeaker.Kill_BGP_Speaker FailFast.Do_Not_Fail_Fast_From_Now_On # NOTE: It is still possible to remain failing fast, if both previous and this test have failed. - [Teardown] FailFast.Do_Not_Start_Failing_If_This_Failed + [Teardown] SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed Wait_For_Stable_Ipv4_Topology_After_Talking [Documentation] Wait until example-ipv4-topology becomes stable again. @@ -134,6 +135,7 @@ Wait_For_Stable_Ipv4_Topology_After_Talking Check_For_Empty_Ipv4_Topology_After_Talking [Documentation] Example-ipv4-topology should be empty now. [Tags] critical + [Setup] SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing PrefixCounting.Check_Ipv4_Topology_Is_Empty Restore_Karaf_Logging_Levels @@ -165,7 +167,6 @@ Setup_Everything SSHKeywords.Require_Python SSHKeywords.Assure_Library_Ipaddr target_dir=. SSHLibrary.Put_File ${CURDIR}/../../../../tools/fastbgp/play.py - SSHLibrary.Put_File ${CURDIR}/../../../../tools/fastbgp/manage_play.py # Calculate the timeout value based on how many routes are going to be pushed. ${period} = DateTime.Convert_Time ${CHECK_PERIOD_PREFIX_COUNT_MANY} result_format=number ${timeout} = BuiltIn.Evaluate ${TEST_DURATION_MULTIPLIER_PREFIX_COUNT_MANY} * (${COUNT_PREFIX_COUNT_MANY} * 3.0 / 10000 + ${period} * (${REPETITIONS_PREFIX_COUNT_MANY} + 1))