... By default, failure while processing a node is silently ignored, unless ${tolerate_failure} is False.
${index_list} = ClusterManagement.ClusterManagement__Given_Or_Internal_Index_List given_list=${member_index_list}
: FOR ${index} IN @{index_list} # usually: 1, 2, 3.
- \ ${status} ${message}= BuiltIn.Run Keyword And Ignore Error Execute Controller Karaf Command With Retry On Background log:log "ROBOT MESSAGE: ${message}" member_index=${index}
- \ BuiltIn.Run_Keyword_Unless ${tolerate_failure} or "${status}" == "PASS" BuiltIn.Fail ${message}
+ \ ${status} ${output}= BuiltIn.Run Keyword And Ignore Error Execute Controller Karaf Command With Retry On Background log:log "ROBOT MESSAGE: ${message}" member_index=${index}
+ \ BuiltIn.Run_Keyword_Unless ${tolerate_failure} or "${status}" == "PASS" BuiltIn.Fail ${output}
Log Test Suite Start To Controller Karaf
[Arguments] ${member_index_list}=${EMPTY}
... All data is deleted at the end of the suite.
... This suite expects car, people and car-people modules to have separate Shards.
Suite Setup Setup
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Library Collections
Resource ${CURDIR}/../../../libraries/CarPeople.robot
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot
Variables ${CURDIR}/../../../variables/Variables.py
*** Keywords ***
Setup
[Documentation] Initialize resources, memorize shard leaders, compute item distribution.
- ClusterManagement.ClusterManagement_Setup
+ SetupUtils.Setup_Utils_For_Setup_And_Teardown
Set_Variables_For_Shard shard_name=car
Set_Variables_For_Shard shard_name=people
Set_Variables_For_Shard shard_name=car-people
... All data is deleted at the end of the suite.
... This suite expects car module to have a separate Shard.
Suite Setup Setup
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Library Collections
Resource ${CURDIR}/../../../libraries/CarPeople.robot
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot
Variables ${CURDIR}/../../../variables/Variables.py
*** Keywords ***
Setup
[Documentation] Initialize resources, memorize car shard leader and followers.
- ClusterManagement.ClusterManagement_Setup
+ SetupUtils.Setup_Utils_For_Setup_And_Teardown
CarPeople.Set_Variables_For_Shard shard_name=car
Set_Variables_For_Less_Nodes
... All data is deleted at the end of the suite.
... This suite expects car module to have a separate Shard.
Suite Setup Setup
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Library Collections
Resource ${CURDIR}/../../../libraries/CarPeople.robot
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot
Variables ${CURDIR}/../../../variables/Variables.py
*** Keywords ***
Setup
[Documentation] Initialize resources, memorize shard leaders, pre-compute member lists.
- ClusterManagement.ClusterManagement_Setup
+ SetupUtils.Setup_Utils_For_Setup_And_Teardown
CarPeople.Set_Variables_For_Shard shard_name=car
Set_Additional_Variables
... All data is deleted at the end of the suite.
... This suite expects car module to have a separate Shard.
Suite Setup Setup
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Library Collections
Resource ${CURDIR}/../../../libraries/CarPeople.robot
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot
Variables ${CURDIR}/../../../variables/Variables.py
*** Keywords ***
Setup
[Documentation] Initialize resources, memorize car shard leader and followers.
- ClusterManagement.ClusterManagement_Setup
+ SetupUtils.Setup_Utils_For_Setup_And_Teardown
CarPeople.Set_Variables_For_Shard shard_name=car
... All data is deleted at the end of the suite.
... This suite expects car, people and car-people modules to have separate Shards.
Suite Setup Setup
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Library Collections
Resource ${CURDIR}/../../../libraries/CarPeople.robot
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot
Variables ${CURDIR}/../../../variables/Variables.py
*** Keywords ***
Setup
[Documentation] Initialize resources, memorize shard leaders, compute item distribution.
- ClusterManagement.ClusterManagement_Setup
+ SetupUtils.Setup_Utils_For_Setup_And_Teardown
CarPeople.Set_Variables_For_Shard shard_name=car
CarPeople.Set_Variables_For_Shard shard_name=people
CarPeople.Set_Variables_For_Shard shard_name=car-people
... Intended use is at a start of testplan, so that suites can assume cluster works.
...
... This suite expects car, people and car-people modules to have separate Shards.
-Suite Setup ClusterManagement.ClusterManagement_Setup
+Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
*** Variables ***
${CLUSTER_BOOTUP_SYNC_TIMEOUT} 180s
Documentation Suite for performing member isolation and rejoin, we do with entity-ownership leader.
Suite Setup Setup
Suite Teardown Teardown
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
Default Tags clustering carpeople critical
Library Collections
Resource ${CURDIR}/../../../libraries/CarPeople.robot
Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
+Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot
Variables ${CURDIR}/../../../variables/Variables.py
*** Keywords ***
Setup
[Documentation] Initialize resources, memorize car shard leader and followers.
- ClusterManagement.ClusterManagement_Setup
+ SetupUtils.Setup_Utils_For_Setup_And_Teardown
CarPeople.Set_Variables_For_Shard shard_name=entity-ownership shard_type=operational
Teardown