Replace deprecated variables in suites/controller (1).
[integration/test.git] / csit / suites / controller / Clustering_Datastore / 001_start_cluster.robot
index e9cbe6237c45a507a392e6735815762f74c701b6..1a3eca67bd7d7ce6fd4bc1436218d405dc79b6d5 100644 (file)
@@ -4,18 +4,23 @@ Default Tags      3-node-cluster
 Resource          ../../../libraries/ClusterKeywords.robot
 
 *** Variables ***
-@{controllers}    ${CONTROLLER}    ${CONTROLLER1}    ${CONTROLLER2}
+@{controllers}    ${ODL_SYSTEM_IP}    ${ODL_SYSTEM_2_IP}    ${ODL_SYSTEM_3_IP}
 ${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
     Clean One Or More Journals    @{controllers}
+    Clean One Or More Snapshots    @{controllers}
 
 Start All Controllers
     [Documentation]    Start all the controllers in the cluster
     Start One Or More Controllers    @{controllers}
+    Wait For Cluster Sync    ${START_TIMEOUT}    @{controllers}