*** Variables ***
${COUNT} 300000
-${DURATION_24_HOURS_IN_SECONDS} 86400
+# TODO: change back to 24h when releng has more granular steps to kill VMs than days; now 23h=82800s
+${LONGEVITY_TEST_DURATION_IN_SECS} 82800
*** Test Cases ***
Configure_Prefixes_Longevity
BuiltIn.Set_Suite_Variable ${config_session} ${session}
# TODO: Either define BGP_VARIABLES_FOLDER in this file, or create a Resource with the definition and wrapping keywords
TemplatedRequests.Put_As_Json_Templated ${BGP_VARIABLES_FOLDER} mapping=${mapping} session=${session}
- WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${DURATION_24_HOURS_IN_SECONDS} 1s Test_Scenario ${rib_owner}
+ WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${LONGEVITY_TEST_DURATION_IN_SECS} 1s Test_Scenario ${rib_owner}
TemplatedRequests.Delete_Templated ${BGP_VARIABLES_FOLDER} mapping=${mapping} session=${session}
*** Keywords ***
Resource ${CURDIR}/../../../libraries/SetupUtils.robot
*** Variables ***
-${TEST_DURATION} 24h
+TODO: change back to 24h when jenkins has more granular steps to abort jobs than days; now 23h
+${TEST_DURATION} 23h
${ACCEPTED_PER_SEC_RATE} 100
${ACCEPTED_PER_SEC_RATE_CARBON} 5
Resource ${CURDIR}/../../../libraries/WaitForFailure.robot
*** Variables ***
-${DURATION_24_HOURS_IN_SECONDS} 86400
+# TODO: change back to 24h when releng has more granular steps to kill VMs than days; now 23h=82800s
+${LONGEVITY_TEST_DURATION_IN_SECS} 82800
${STABILITY_TIMEOUT_ISOLATED} 120s
${STABILITY_TIMEOUT_REJOINED} 60s
@{STATUS_ISOLATED} ${501}
CS_Pertition_And_Heal
[Documentation] 24h lasting suite for isolating the cluster singleton leader repeatedly.
CsCommon.Register_Singleton_Constant_On_Nodes ${cs_all_indices}
- WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${DURATION_24_HOURS_IN_SECONDS} 3s Test_Scenario
+ WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${LONGEVITY_TEST_DURATION_IN_SECS} 3s Test_Scenario
CsCommon.Unregister_Singleton_Constant_On_Nodes ${cs_all_indices}
*** Keywords ***
Resource ${CURDIR}/../../../libraries/SetupUtils.robot
*** Variables ***
-${DURATION_24_HOURS_IN_SECONDS} 86400
+# TODO: change back to 24h when releng has more granular steps to kill VMs than days; now 23h=82800s
+${LONGEVITY_TEST_DURATION_IN_SECS} 82800
@{MOVEMENT_DIRECTION_LIST} remote local remote
*** Test Cases ***
Explicit_Leader_Movement_Test
[Documentation] Leader move for 24 hours from one node to another
- WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${DURATION_24_HOURS_IN_SECONDS} 5s Test_Scenario
+ WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${LONGEVITY_TEST_DURATION_IN_SECS} 5s Test_Scenario
*** Keywords ***
Test_Scenario
Resource ${CURDIR}/../../../libraries/SetupUtils.robot
*** Variables ***
-${DURATION_24_HOURS_IN_SECONDS} 86400
+# TODO: change back to 24h when releng has more granular steps to kill VMs than days; now 23h=82800s
+${LONGEVITY_TEST_DURATION_IN_SECS} 82800
${NOTIFICATION_RATE} ${60000}
*** Test Cases ***
Notifications_longevity
- ${NOTIFICATION_RATE} ${DURATION_24_HOURS_IN_SECONDS}
+ ${NOTIFICATION_RATE} ${LONGEVITY_TEST_DURATION_IN_SECS}
@{INSTALLED_RPC_MEMEBER_IDX_LIST} ${1} ${2}
# TODO: Consider unregistering one at random for each iteration, as in the precedence longevity suite.
${TESTED_MEMBER_WITHOUT_RPC_IDX} ${3}
-${DURATION_24_HOURS_IN_SECONDS} 86400
+# TODO: change back to 24h when releng has more granular steps to kill VMs than days; now 23h=82800s
+${LONGEVITY_TEST_DURATION_IN_SECS} 82800
*** Test Cases ***
Rpc_Provider_Precedence_Longevity
[Documentation] Test register rpc on two of three nodes and repeat the tested scenario for 24h.
DrbCommons.Register_Rpc_On_Nodes ${INSTALLED_RPC_MEMEBER_IDX_LIST}
- WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${DURATION_24_HOURS_IN_SECONDS} 1s Test_Scenario
+ WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${LONGEVITY_TEST_DURATION_IN_SECS} 1s Test_Scenario
DrbCommons.Unregister_Rpc_On_Nodes ${INSTALLED_RPC_MEMEBER_IDX_LIST}
*** Keywords ***
Resource ${CURDIR}/../../../libraries/WaitForFailure.robot
*** Variables ***
-${DURATION_24_HOURS_IN_SECONDS} 86400
+# TODO: change back to 24h when releng has more granular steps to kill VMs than days; now 23h=82800s
+${LONGEVITY_TEST_DURATION_IN_SECS} 82800
*** Test Cases ***
Rpc_Provider_Precedence_Longevity
[Documentation] Repeat the tested scenario for 24h.
DrbCommons.Register_Rpc_On_Nodes ${all_indices}
- WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${DURATION_24_HOURS_IN_SECONDS} 1s Test_Scenario
+ WaitForFailure.Verify_Keyword_Does_Not_Fail_Within_Timeout ${LONGEVITY_TEST_DURATION_IN_SECS} 1s Test_Scenario
DrbCommons.Unregister_Rpc_On_Nodes ${all_indices}
*** Keywords ***