Refactor cluster car-people test to reduce test time in case of failure
[integration/test.git] / csit / suites / controller / Clustering_Datastore / 001_start_cluster.robot
1 *** Settings ***
2 Documentation     Start the controllers
3 Default Tags      3-node-cluster
4 Resource          ../../../libraries/ClusterKeywords.robot
5
6 *** Variables ***
7 @{controllers}    ${CONTROLLER}    ${CONTROLLER1}    ${CONTROLLER2}
8 ${KARAF_HOME}     ${WORKSPACE}/${BUNDLEFOLDER}
9 ${START_TIMEOUT}    300s
10 ${STOP_TIMEOUT}    180s
11
12 *** Test Cases ***
13 Stop All Controllers
14     [Documentation]    Stop all the controllers in the cluster.
15     Stop One Or More Controllers    @{controllers}
16     Wait For Cluster Down    ${STOP_TIMEOUT}    @{controllers}
17
18 Clean All Journals
19     [Documentation]    Clean the journals of all the controllers in the cluster
20     Clean One Or More Journals    @{controllers}
21
22 Start All Controllers
23     [Documentation]    Start all the controllers in the cluster
24     Start One Or More Controllers    @{controllers}
25     Wait For Cluster Sync    ${START_TIMEOUT}    @{controllers}