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
index e9cbe6237c45a507a392e6735815762f74c701b6..a4dae47c695519ae4c7c07d126dc34dae8193d97 100644 (file)
@@ -6,11 +6,14 @@ Resource          ../../../libraries/ClusterKeywords.robot
 *** Variables ***
 @{controllers}    ${CONTROLLER}    ${CONTROLLER1}    ${CONTROLLER2}
 ${KARAF_HOME}     ${WORKSPACE}/${BUNDLEFOLDER}
+${START_TIMEOUT}    300s
+${STOP_TIMEOUT}    180s
 
 *** Test Cases ***
 Stop All Controllers
     [Documentation]    Stop all the controllers in the cluster.
     Stop One Or More Controllers    @{controllers}
+    Wait For Cluster Down    ${STOP_TIMEOUT}    @{controllers}
 
 Clean All Journals
     [Documentation]    Clean the journals of all the controllers in the cluster
@@ -19,3 +22,4 @@ Clean All Journals
 Start All Controllers
     [Documentation]    Start all the controllers in the cluster
     Start One Or More Controllers    @{controllers}
+    Wait For Cluster Sync    ${START_TIMEOUT}    @{controllers}