Update Robot Framework format - step 5
[integration/test.git] / csit / suites / controller / dom_data_broker / leader_isolation.robot
1 *** Settings ***
2 Documentation       DOMDataBroker testing: Leader Isolation
3 ...
4 ...                 Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
5 ...
6 ...                 This program and the accompanying materials are made available under the
7 ...                 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 ...                 and is available at http://www.eclipse.org/legal/epl-v10.html
9 ...
10 ...                 The goal is to ensure the datastore succeeds in basic isolation/rejoin scenario,
11 ...                 simulating either a network partition, or a prolonged GC pause.
12
13 Library             SSHLibrary
14 Resource            ${CURDIR}/../../../libraries/controller/DdbCommons.robot
15 Resource            ${CURDIR}/../../../libraries/SetupUtils.robot
16
17 Suite Setup         SetupUtils.Setup_Utils_For_Setup_And_Teardown    http_timeout=125
18 Suite Teardown      SSHLibrary.Close_All_Connections
19 Test Setup          SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
20 Test Teardown       SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
21 Test Template       DdbCommons.Leader_Isolation_Test_Templ
22
23 Default Tags        critical
24
25
26 *** Test Cases ***
27 Healing_Within_Request_Timeout
28     [Documentation]    The isolated node (leader) is rejoined as soon as new leader is elected and
29     ...    and within request timeout.
30     ${HEAL_WITHIN_REQUEST_TIMEOUT}
31 Restart
32     [Documentation]    Restart odl
33     [Template]    ${EMPTY}
34     DdbCommons.Restart_Test_Templ
35 Healing_After_Request_Timeout
36     [Documentation]    The isolated node (leader) is rejoined after request timeout.
37     ${HEAL_AFTER_REQUEST_TIMEOUT}