Replace deprecated variables in suites/controller (1).
[integration/test.git] / csit / suites / controller / Clustering_Datastore / 140_recovery_restart_follower.robot
index 38879de9d92bff4df600fa5854ef998c3d26f917..8a9a3130819b417f542ccceb45db7e54bd8f7be6 100644 (file)
@@ -11,7 +11,7 @@ Variables         ../../../variables/Variables.py
 *** Variables ***
 ${CAR_SHARD}      shard-car-config
 ${NUM_CARS}       ${60}
-@{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
@@ -25,6 +25,7 @@ Stop All 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
@@ -50,7 +51,7 @@ Stop Both Of The Followers
 
 Attempt To Add A Car To The Leader
     [Documentation]    Add car should fail as both followers are down
-    AddCar    ${CURRENT_CAR_LEADER}    ${RESTCONFPORT}    ${1}    500
+    AddCar    ${CURRENT_CAR_LEADER}    ${RESTCONFPORT}    ${1}    500    503
     Sleep    2
     ${resp}    Getcars    ${CURRENT_CAR_LEADER}    ${RESTCONFPORT}    ${1}
     Should Not Be Equal As Strings    ${resp.status_code}    200