Update Robot Framework format - step 5
[integration/test.git] / csit / suites / controller / dom_data_broker / leader_isolation.robot
index 510362cd457649984df9c90fe06fe262251e3872..e22216d467d94c8551943eb93afbc161de074ba5 100644 (file)
@@ -1,30 +1,37 @@
 *** Settings ***
-Documentation     DOMDataBroker testing: Leader Isolation
+Documentation       DOMDataBroker testing: Leader Isolation
 ...
-...               Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
+...                 Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
 ...
-...               This program and the accompanying materials are made available under the
-...               terms of the Eclipse Public License v1.0 which accompanies this distribution,
-...               and is available at http://www.eclipse.org/legal/epl-v10.html
+...                 This program and the accompanying materials are made available under the
+...                 terms of the Eclipse Public License v1.0 which accompanies this distribution,
+...                 and is available at http://www.eclipse.org/legal/epl-v10.html
 ...
-...               The goal is to ensure the datastore succeeds in basic isolation/rejoin scenario,
-...               simulating either a network partition, or a prolonged GC pause.
-Suite Setup       SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=30
-Suite Teardown    SSHLibrary.Close_All_Connections
-Test Setup        SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
-Test Teardown     SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
-Default Tags      critical
-Test Template     DdbCommons.Leader_Isolation_Test_Templ
-Library           SSHLibrary
-Resource          ${CURDIR}/../../../libraries/controller/DdbCommons.robot
-Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
+...                 The goal is to ensure the datastore succeeds in basic isolation/rejoin scenario,
+...                 simulating either a network partition, or a prolonged GC pause.
+
+Library             SSHLibrary
+Resource            ${CURDIR}/../../../libraries/controller/DdbCommons.robot
+Resource            ${CURDIR}/../../../libraries/SetupUtils.robot
+
+Suite Setup         SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=125
+Suite Teardown      SSHLibrary.Close_All_Connections
+Test Setup          SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
+Test Teardown       SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
+Test Template       DdbCommons.Leader_Isolation_Test_Templ
+
+Default Tags        critical
+
 
 *** Test Cases ***
-Healing_Within_Transaction_Timeout
+Healing_Within_Request_Timeout
     [Documentation]    The isolated node (leader) is rejoined as soon as new leader is elected and
-    ...    and within transaction timeout.
-    ${HEAL_WITHIN_TRANS_TIMEOUT}
-
-Healing_After_2x_Transaction_Timeout
-    [Documentation]    The isolated node (leader) is rejoined after 2x transaction timeout.
-    ${${TRANSACTION_TIMEOUT_2X}+1}
+    ...    and within request timeout.
+    ${HEAL_WITHIN_REQUEST_TIMEOUT}
+Restart
+    [Documentation]    Restart odl
+    [Template]    ${EMPTY}
+    DdbCommons.Restart_Test_Templ
+Healing_After_Request_Timeout
+    [Documentation]    The isolated node (leader) is rejoined after request timeout.
+    ${HEAL_AFTER_REQUEST_TIMEOUT}