Adds 503 as a possible error code along with 500.
[integration/test.git] / csit / suites / controller / Clustering_Datastore / 140_recovery_restart_follower.robot
index 38879de9d92bff4df600fa5854ef998c3d26f917..d92e88675c434f88e6910312da4265bc117e6af3 100644 (file)
@@ -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